-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rust-lld breaks on i686-pc-windows-gnu #76491
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
Comments
OK, it seems that you need to pass "-m i386pe" to the linker.
To learn more, run the command again with --verbose. The only way to fix all this would seemingly be to ship the entire MINGW tool chain along with rust. |
Limited support for rust-lld has recently landed in nightly: #75483 I'll look into it tomorrow, this unformatted log is unreadable on the mobile. |
Works properly on nightly:
|
Ahh thanks, it works for me now that I'm using nightly. |
I ran this command in order to use the included rust-lld linker:
C:\py\j\hello_rust>set CARGO_TARGET_I686_PC_WINDOWS_GNU_LINKER=rust-lld
Then, I tried to build my Cargo hello world project and here are the results:
To learn more, run the command again with --verbose.
I think that this probjem would go away if I used Clang.exe as the linker, but installing clang would be problematic on my end
The text was updated successfully, but these errors were encountered: