Closed
Description
With the update to xcode 14 older rustc versions installed from rustup
are failing with an error that looks like this:
= note: ld: in /Users/mitsuhiko/.rustup/toolchains/1.51.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-68aa428439efc3d3.rlib(lib.rmeta),
archive member 'lib.rmeta' with length 33472 is not mach-o or llvm bitcode file
'/Users/mitsuhiko/.rustup/toolchains/1.51.0-aarch64-apple-darwin/lib/rustlib/aarch64-apple-darwin/lib/libpanic_unwind-68aa428439efc3d3.rlib' for architecture arm64
From testing 1.54.0 and 1.56.0 and latest is fine, 1.51 and 1.53 are not.
Meta
rustc --version --verbose
:
rustc 1.51.0 (2fd73fabe 2021-03-23)
binary: rustc
commit-hash: 2fd73fabe469357a12c2c974c140f67e7cdd76d0
commit-date: 2021-03-23
host: aarch64-apple-darwin
release: 1.51.0
LLVM version: 11.0.1
I believe this is related to #103044.
Since those are rather old Rust versions I assume there is not a lot of reason to do something about it, but I figured I report it because I wasn't sure if this was supposed to happen and maybe someone else will also stumble upon it. I noticed it because I had an override set to my MSRV on a library.