Skip to content

Commit

Permalink
Turn off UBSAN to replicate default project behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
kubkon committed Jun 8, 2021
1 parent ab12a2e commit f512671
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qjs-wasi/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pub fn build(b: *std.build.Builder) !void {
defer flags.deinit();
try flags.appendSlice(&.{
"-funsigned-char",
"-fno-sanitize=undefined", // Uncomment to enable UBSAN.
"-D_GNU_SOURCE",
"-DCONFIG_VERSION=\"2019-07-09\"",
});
Expand Down

0 comments on commit f512671

Please sign in to comment.