Skip to content

feat(rust): Add "none" value for Rust feature "components" - #1724

Closed
Venkumahanti Subhankar (V-Subhankar-infy) wants to merge 4 commits into
devcontainers:mainfrom
V-Subhankar-infy:temp1
Closed

feat(rust): Add "none" value for Rust feature "components"#1724
Venkumahanti Subhankar (V-Subhankar-infy) wants to merge 4 commits into
devcontainers:mainfrom
V-Subhankar-infy:temp1

Conversation

@V-Subhankar-infy

Copy link
Copy Markdown
Member

Issue

Resolves #1716 — no supported way to opt out of the default Rust components
(rust-analyzer, rust-src, rustfmt, clippy).

Solution

Add an explicit "none" value for the components option. When set to none,
the component-install loop is skipped. Unset, empty, and custom-list values keep
their existing behavior. Includes version bump (1.5.11.6.0), updated
docs/proposals, and a new rust_with_none_components test scenario.

Impact

No breaking changes — only the previously-unhandled literal none changes
behavior. none skips components beyond the selected rustup profile; under the
default minimal profile this means none of the four defaults are installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rust: Components field ignores intention of profile field

1 participant