-
Notifications
You must be signed in to change notification settings - Fork 375
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
Nightly builds fail on many platforms now that nightly sets -fuse-ld=lld
#1496
Comments
This doesn't seem to be an issue with the latest repo version of |
I'll have to investigate why it doesn't work on 0.2.5 The upstream changes: |
Running into this too when cross compiling nightly from x86-64 to Aarch64. Seems like a regression in Rust to me. |
- Use Rust stable to build release. - cross-rs/cross#1496 - https://blog.rust-lang.org/2024/05/17/enabling-rust-lld-on-linux.html Close #196
This should now be fixed with new nightly builds, thanks @VorpalBlade for reporting it upstream! |
Checklist
Describe your issue
Compilation fails on many platforms (maybe all?) because of this change in nightly:
I've tried lots of different methods of passing in the flag to tell it not to use
lld
, including:Setting
RUSTFLAGS
when I invokecross
.Various changes to my
Cargo.toml
:And also:
None of these worked.
What target(s) are you cross-compiling for?
aarch64-unknown-freebsd
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5
Example
I think this will fail on any project.
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: