commit 8babc14cdfc6563c32e1b6eece548389b7249d10 (tree)
parent 6509c492ad7908c515a0c00751e1348b26dda4e7
Author: Andrew Kelley <andrew@ziglang.org>
Date: Wed, 27 Dec 2023 17:51:59 -0700
std.Build.Module: default CSourceFile flags to empty list
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 .{