How to pass -fno-sanitize=undefined to `zig cc`?
jiacai2050 opened this issue · 0 comments
jiacai2050 commented
Since zig cc
pass -fsanitize=undefined -fsanitize-trap=undefined
by default, some project can be built successfully, but
will throw error when running
$ ./target/debug/foo
Illegal instruction
Line 510 in 871605b
After some research, it seems there is no way to pass zig cc
options?