From 8ce3a8b6041d2dd2eea1e9fcb55bc9d602469667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20=C3=85stholm?= Date: Sun, 3 Mar 2024 20:20:25 +0100 Subject: [PATCH] `WriteFile.addCopyDirectory` should include all files by default --- lib/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 index 2ed7b1344c..f0ff6cfa70 100644 --- 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 .{