Skip to content

Commit 979e305

Browse files
committed
fix: add UB flags
1 parent a42bf89 commit 979e305

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ const FLAGS = .{
7474
"-std=c99",
7575
"-O2",
7676
"-g",
77+
"-fsanitize=undefined",
78+
"-fsanitize-trap=undefined",
7779
};
7880

7981
const VALUES = .{

0 commit comments

Comments
 (0)