Closed soruh closed 5 months ago
Could you try uninstalling stable-x86_64-unknown-linux-gnu
then reinstall it
That seems to have worked. It now works for both architectures.
Thanks a lot!
Awesome! We actually have a warning for a similar issue, but I think this one is pretty much impossible to detect reliably.
https://github.com/cross-rs/cross/blob/f272b470f999c7e588fbcf5c0a159d14b5485ff4/src/rustup.rs#L129
Checklist
Describe your issue
Cross fails to compile any project which depends on the
libc
crate when using the lateststable
toolchain, but works when using the latestnightly
.What target(s) are you cross-compiling for?
armv7-unknown-linux-gnueabihf, x86_64-unknown-linux-gnu
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 (f272b47 2024-02-06)
Example
Additional information / notes