Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ifreund
· 5y ago · 0 comments
This is due to zig enabling clangs UBSAN by default in unoptimized builds. This can be disabled with `-fno-sanitize=undefined` or by enabling optimizations with `-O2` or `-O3`.
https://github.com/ziglang/zig/issues/4830#issuecomment-6054...
Comments
[–]
Rounin
5y ago
Well, as mentioned, I got a whole list of different compile-time options to try - no-this and no-that, but the executable still crashed in the end.