diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-12-27 17:51:59 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-01-01 19:49:08 -0700 |
| commit | 8babc14cdfc6563c32e1b6eece548389b7249d10 (patch) | |
| tree | 05224f82756b801e5a9abbd145b49c83ff26407f /lib/std/Build/Module.zig | |
| parent | 6509c492ad7908c515a0c00751e1348b26dda4e7 (diff) | |
| download | zig-8babc14cdfc6563c32e1b6eece548389b7249d10.tar.gz zig-8babc14cdfc6563c32e1b6eece548389b7249d10.zip | |
std.Build.Module: default CSourceFile flags to empty list
Diffstat (limited to 'lib/std/Build/Module.zig')
| -rw-r--r-- | lib/std/Build/Module.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Build/Module.zig b/lib/std/Build/Module.zig index 9daa89deb8..ce17d655a0 100644 --- a/lib/std/Build/Module.zig +++ b/lib/std/Build/Module.zig @@ -88,7 +88,7 @@ pub const CSourceFiles = struct { pub const CSourceFile = struct { file: LazyPath, - flags: []const []const u8, + flags: []const []const u8 = &.{}, pub fn dupe(self: CSourceFile, b: *std.Build) CSourceFile { return .{ |
