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

Solaris support is broken on 1.29.2

Chiusa
#5,164 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #5167 di @ChrisDenton — integrata

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
tooling

Direzione di ricerca

The settings-file lock logic in rustup fails on Solaris now that lock() was removed from the Rust standard library (rust-lang/rust#157509). Start by finding where the settings.toml file lock is taken and study the Cargo workaround in rust-lang/cargo#17110 for an alternative locking approach. 'Done' means rustup installs successfully on Solaris 11.4 as in the linked libc CI run, verified by reproducing the installer flow there. Needs platform/file-locking familiarity, so better for someone with Solaris or systems-rust experience than a true first issue.

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

Descrizione

bug
Verification
Problem

Rustup v1.29.2 is broken atm, like:

+ curl --proto '=https' --tlsv1.2 -sSf --retry 5 https://sh.rustup.rs/
info: downloading installer
error: could not write settings file: '/root/.rustup/settings.toml': lock() not supported

Full CI log: https://github.com/rust-lang/libc/actions/runs/40071179099/job/120805372981

This is because https://github.com/rust-lang/rust/pull/157509 removed lock().

Steps
  1. run rustup on Solaris
Possible Solution(s)

We need to implement alternative way.
Prior art on Cargo: https://github.com/rust-lang/cargo/pull/17110

Notes

No response

Rustup version
v1.29.2
Installed toolchains
No info as it was caught on CI but it should happen on all the toolchains anyway.
OS version
Solaris 11.4-gcc
Lingua principale
Rust
Stelle
7.1k
Fork
1.1k
Merge medio
1g 3h
PR unite (30g)
36

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.