Rust fails after Homebrew says its packages are satisfied
Source: Troubleshooting reference
Symptom: install/rust.sh reports Homebrew rustup not found even though
brew list rustup and brew --prefix rustup succeed.
Root cause: Homebrew’s keg-only rustup formula removed rustup-init. Older
bootstrap runs left ~/.local/cargo/bin/rustup pointing at the removed
/opt/homebrew/bin/rustup-init, and rust.sh incorrectly required that removed
binary before accepting the installed formula.
Confirm:
brew info rustup | grep -E 'keg-only|no longer provides'readlink ~/.local/cargo/bin/rustupls "$(brew --prefix rustup)/bin/rustup"Fix: update the checkout and run bash ~/dotfiles/install/rust.sh. The
installer now links Homebrew’s individual keg wrappers into the managed Cargo
bin directory and initializes stable with rustup toolchain install; it does
not depend on rustup-init.