devcontainers / devcontainers/features

Rust: Components field ignores intention of profile field

Chiusa
#1,716 0 commenti 0 reazioni 1 assegnatario Rivendicata da @V-Subhankar-infy Vedi su GitHub
Lingua principale
Shell
Stelle
1.5k
Fork
622
Merge medio
6g 53m
PR unite (30g)
9

Descrizione

I've set the the `profile` option to minimal, as I only want cargo, rustc, and rust-std installed. I then have to set `components` to `"cargo,rustc,rust-std"`, as otherwise I still end up with `clippy`, `rust-fmt` and `rust-analyzer` installed. Setting `components` to `""` results in the same behavior, and setting it to `null` causes an error.

It would be nice to allow components to be either `""` or `null`, to signal that the `profile` is enough and I don't want any additional components installed.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.