motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 8ce3a8b6041d2dd2eea1e9fcb55bc9d602469667 (tree)
parent 27c8f895ebeed9f124d32f6a96eaea92e06825bb
Author: Carl Ã…stholm <carl@astholm.se>
Date:   Sun,  3 Mar 2024 20:20:25 +0100

`WriteFile.addCopyDirectory` should include all files by default

Diffstat:
Mlib/std/Build/Step/WriteFile.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/Build/Step/WriteFile.zig b/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 .{