We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3a532e commit 2f2954dCopy full SHA for 2f2954d
1 file changed
build.zig
@@ -136,7 +136,10 @@ pub fn build(b: *std.Build) void {
136
expat.root_module.addCSourceFiles(.{
137
.files = sources,
138
.root = upstream.path("expat"),
139
- .flags = if (need_short_char_arg) &.{ "-std=c99", "-fshort-wchar" } else &.{"-std=c99"},
+ .flags = if (need_short_char_arg)
140
+ &.{ "-std=c99", "-fno-sanitize=undefined", "-fshort-wchar" }
141
+ else
142
+ &.{ "-std=c99", "-fno-sanitize=undefined" },
143
});
144
145
const xmlwf = b.addExecutable(.{
0 commit comments