Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Rustup not installed at [location] with different CARGO_HOME and RUSTUP_HOME

Aperta
#4,892 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
rust
Ambito
tooling

Direzione di ricerca

Inizia riproducendo il problema con valori diversi di RUSTUP_HOME e CARGO_HOME, utilizzando l’installer documentato di rustup e i passaggi di rustup update. Traccia il modo in cui il comando di aggiornamento determina la posizione di installazione di rustup, quindi verifica che un aggiornamento venga completato senza l’errore errato relativo alla posizione di installazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

incomplete question
Verification
Problem

Running rustup update does update the version but ends with error: rustup is not installed at [location of $RUSTUP_HOME].

I did check the RUSTUP_HOME and CARGO_HOME. They are set as follows:

  • $RUSTUP_HOME: custom/location/rustup/bin
  • $CARGO_HOME: custom/location/cargo/bin

Both are sitting at the same custom/location just with different suffices.

I did check the actual location and the error message is correct. The rustup binary itself is installed at $CARGO_HOME/rustup together with all the other binaries such as cargo, rust-analyzer and more.

In the $RUSTUP_HOME are the installed toolchains, but no binaries.

Steps
  1. Install rustup via rust installer (curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh)
  2. run rustup update
  3. Rustup update works but ends with error
Possible Solution(s)

No response

Notes

No response

Rustup version
rustup 1.29.0 (28d1352db 2026-03-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: the currently active `rustc` version is `rustc 1.96.0 (ac68faa20 2026-05-25)`
Installed toolchains
Default host: aarch64-apple-darwin
rustup home:  [redacted]

installed toolchains
--------------------
stable-aarch64-apple-darwin (active, default)

active toolchain
----------------
name: stable-aarch64-apple-darwin
active because: it's the default toolchain
installed targets:
  aarch64-apple-darwin
OS version
macOS 26.5.1 on Apple Silicon Chip
Lingua principale
Rust
Stelle
7.1k
Fork
1.1k
Merge medio
1g 6h
PR unite (30g)
45

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-lang/rustup

Tutte le issue di rust-lang/rustup

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.