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

Setup a `rust-toolchain.toml` file to specify correct Rust toolchain version

Aperta
#1,425 0 commenti 1 reazione 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
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Inizia esaminando la PR 1422 e i riferimenti della pipeline di release a msrustup, inclusa la selezione attuale di ms-stable o ms-prod-1.93. Determina quindi come rust-toolchain.toml dovrebbe fornire una versione canonica unica mantenendo i build per gli sviluppatori senza msrustup. Il lavoro è completato quando la toolchain è specificata una sola volta e continuano a funzionare sia i build di release sia quelli della community.

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

Descrizione

Issue-Enhancement Needs Triage
Summary of the new feature / enhancement

Coming out of https://github.com/PowerShell/DSC/pull/1422 we discovered our build was using ms-stable which had the unintended side effect of pinning us to Rust 1.88. You'll note our use of msrustup (when available), it is Microsoft's tool for installing compliant internal Rust toolchains. This is used in our release pipeline, and can be used by Microsoft developers.

In June 2024, the ms-stable moniker (passed to msrustup) was retired and we were supposed to move to the moniker ms-prod to get updates. We didn't do that, so it has stayed at the equivalent of ms-prod-1.88. At the same time, it is highly recommended to take updates intentionally, hence that PR does a blanket switch from ms-stable to ms-prod-1.93.

It would be best for us to specify and re-use this value in one place. The most correct and canonical way to do that is with a rust-toolchain.toml file. However, we need to do this in a way that when msrustup isn't available (such as for community devs) everything continues to work without a hitch.

Proposed technical implementation details (optional)

No response

Lingua principale
Rust
Stelle
536
Fork
76
Merge medio
1g 11h
PR unite (30g)
15

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 PowerShell/DSC

Tutte le issue di PowerShell/DSC

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.