authorgravatar for carl@astholm.seCarl Åstholm <carl@astholm.se> 2024-03-03 20:20:25+01:00
committergravatar for carl@astholm.seCarl Åstholm <carl@astholm.se> 2024-04-07 15:34:47+02:00
log8ce3a8b6041d2dd2eea1e9fcb55bc9d602469667
treed3bbb9e6613cc3c80518d4e26bf943e7ddc4524e
parent27c8f895ebeed9f124d32f6a96eaea92e06825bb

`WriteFile.addCopyDirectory` should include all files by default


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/Build/Step/WriteFile.zig+1-1
...@@ -47,7 +47,7 @@ pub const Directory = struct {...@@ -47,7 +47,7 @@ pub const Directory = struct {
47 /// Only file paths that end in any of these suffixes will be included in copying.47 /// Only file paths that end in any of these suffixes will be included in copying.
48 /// `null` means that all suffixes will be included.48 /// `null` means that all suffixes will be included.
49 /// `exclude_extensions` takes precedence over `include_extensions`.49 /// `exclude_extensions` takes precedence over `include_extensions`.
50 include_extensions: ?[]const []const u8 = &.{".h"},50 include_extensions: ?[]const []const u8 = null,
5151
52 pub fn dupe(self: Options, b: *std.Build) Options {52 pub fn dupe(self: Options, b: *std.Build) Options {
53 return .{53 return .{