-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
stage2 can't cross compile mingw #144
Comments
Hmm, I cannot seem to repro this locally. |
I don't know if it matters but this happens on a Zig binary built without stage1. |
I wonder if this is due to how Zig is built. My invocation is something like:
|
Mine is pretty much the same except that |
I haven't looked into this yet but as a clue - "native" is a zig-only concept; it's supposed to get resolved into a concrete architecture before it gets sent to LLVM. |
It seems to work properly on a zig binary built by cmake and a release zig binary built by the cmake zig but not on a debug Zig built by that release zig. |
This is caused by passing native to |
@Vexu just to be clear, is the repro for this issue just That works for me FWIW. |
I think it happened when using |
Both Do you think it's safe to close this? |
Fine by me. I haven't ran into this since. |
To reproduce on Linux:
The text was updated successfully, but these errors were encountered: