rustup: Rustup 1.27.0 incompatible with older macOS

Problem

Trying to run rustup self update on macOS 10.14 fails with the error dyld: cannot load 'rustup-init' (load command 0x80000034 is unknown).

Full output:

$ rustup self update
info: checking for self-update
info: downloading self-update
  rustup updated - (unknown) (from 1.26.0)

dyld: cannot load 'rustup-init' (load command 0x80000034 is unknown)
error: self-updated failed to replace rustup executable

$ uname -a
Darwin Caligari.local 18.7.0 Darwin Kernel Version 18.7.0: Tue Jun 22 19:37:08 PDT 2021; root:xnu-4903.278.70~1/RELEASE_X86_64 x86_64

Steps

  1. Run rustup self update
  2. There is no step 2.

Possible Solution(s)

No response

Notes

No response

Rustup version

rustup 1.26.0 (5af9b9484 2023-04-05)

Installed toolchains

Default host: x86_64-apple-darwin
rustup home:  /Users/anders/.rustup

stable-x86_64-apple-darwin (default)
rustc 1.76.0 (07dca489a 2024-02-04)

About this issue

  • Original URL
  • State: closed
  • Created 4 months ago
  • Comments: 16 (11 by maintainers)

Most upvoted comments

Yes, it seems to run fine.

$ rustup --version
rustup 1.27.0+7 (2eff946a6 2024-03-13)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.76.0 (07dca489a 2024-02-04)`

@rami3l It seems to work.

$ rustup --version
rustup 1.27.1 (54dd3d00f 2024-04-24)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.77.2 (25ef9e3d8 2024-04-09)`

@correabuscar This is not a platform-related issue. Since recently GitHub has been moving stuff behind the login wall. As I see it, what you saw could very possibly be a consequence of this.

Ahh, sorry, got confused between this and another issue.

@andersm Does our new build work for you? (You might need to log into GitHub in order to download.)