You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build MIR with my build.zig for buzz so that users are not required to build it separately by hand and also for it to be automatically built for the current platform.
We found that the issue is that MIR seems to rely on undefined behaviour somewhere.
Building with zig ensures that any undefined behaviour results in a trace trap.
Building with -fno-sanitize=undefined which removes this behaviour, fixed it.
I'm trying to build MIR with my build.zig for buzz so that users are not required to build it separately by hand and also for it to be automatically built for the current platform.
-> https://github.com/buzz-language/buzz/blob/mir/build.zig#L639-L703
It builds and links ok but crashes at runtime here:
@vnmakarov Do you have any idea as to what I might be missing?
Note that it works perfectly when building by hand with
make
The text was updated successfully, but these errors were encountered: