-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incorrect data layout string generated on some targets with the new llvm logic #16482
Comments
I don't think it's a crazy miscompilation / screw-up, just a part of the compiler using Lines 862 to 865 in 426e737
IMO kind of smart and not the worst idea for pointing out the actual issue (to whoever understands what's happening in that part of the code). |
New information: it also happens for me with |
That's an assertion that the LLVM backend generated the data layout string correctly. Good thing it was added because it caught an issue for you that would have been very difficult to track down otherwise. cc @jacobly0 |
i know the support is (extremely) experimental for now but im getting the same type of error with xtensa
should this (or a separate issue) be reopened? should it just be left until xtensa is more supported? |
Zig Version
0.11.0-dev.4088+c43ee5bb2
Steps to Reproduce and Observed Behavior
Try to compile literally anything (even an empty file reproduces the error) with
zig build-exe blah.zig -target wasm32-emscripten
Error:
Okay, what the heck even is this? How am I getting a test failure when I'm not running a test?
Expected Behavior
Normal attempt to compile the file...
I have a project that was building successfully for this target in the last few weeks. I think this must be recent.
The text was updated successfully, but these errors were encountered: