-
Notifications
You must be signed in to change notification settings - Fork 893
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
rustup
installation broken after upgrading from macOS 13.6 to 14.2
#3652
Comments
As the breakages aren't currently blocking for me, I'm happy to leave my |
I just tried running
That got me thinking:
So this might be the same root cause as rust-lang/rust#114276 (comment) - the upgrade breaks however |
I initially guessed that
However, there are two problems with that guess:
|
Aha, it's (ironically) |
Hmm, restarting did not help. Now it seems I have a different problem:
I will have to do more reading to figure out what the correct fix is here, and if there is something |
Looking at how rustup/src/cli/self_update/shell.rs Lines 124 to 128 in 33ad3a4
rustup/src/cli/self_update/shell.rs Lines 193 to 206 in 33ad3a4
And indeed I found the I separately note that my Homebrew installation added itself only to $ /usr/libexec/path_helper
PATH="/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/opt/homebrew/opt/[email protected]/libexec/bin:/Users/str4d/go/bin:/Users/str4d/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/str4d/.cargo/bin"; export PATH;
MANPATH="/usr/share/man:/usr/local/share/man:/Applications/Wireshark.app/Contents/Resources/share/man:/opt/homebrew/share/man:"; export MANPATH;
$ echo $PATH
/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/opt/homebrew/opt/[email protected]/libexec/bin:/Users/str4d/go/bin:/Users/str4d/bin:/Users/str4d/.cargo/bin |
Problem
I installed Rust using
rustup
some time last year (or maybe earlier, I forget) onto a Macbook Air M1 running macOS 13. A few weeks ago I upgraded from 13.6 to 14.2, and since then my Rust installation has been subtly broken in ways I keep discovering.Steps
rustup
on macOS 13.6.Possible Solution(s)
No response
Notes
I first noticed problems when I started trying to cross-compile for iOS targets. See rust-lang/rust#114276 (comment) for more information (as that issue seems to be the same as mine, so I posted a comment there initially).
I just now noticed that the
rustup
overrides are not working (neither manual notrust-toolchain.toml
), which is why I now think it's arustup
problem rather than arustc
orcargo
problem:Rustup version
rustup 1.26.0 (5af9b9484 2023-04-05)
Installed toolchains
The text was updated successfully, but these errors were encountered: