Commit 8ce3a8b604

Carl Åstholm <carl@astholm.se>
2024-03-03 20:20:25
`WriteFile.addCopyDirectory` should include all files by default
1 parent 27c8f89
Changed files (1)
lib
std
Build
lib/std/Build/Step/WriteFile.zig
@@ -47,7 +47,7 @@ pub const Directory = struct {
         /// Only file paths that end in any of these suffixes will be included in copying.
         /// `null` means that all suffixes will be included.
         /// `exclude_extensions` takes precedence over `include_extensions`.
-        include_extensions: ?[]const []const u8 = &.{".h"},
+        include_extensions: ?[]const []const u8 = null,
 
         pub fn dupe(self: Options, b: *std.Build) Options {
             return .{