Skip to content

feat(config): allow qualified rust-toolchain.toml if compatible with host - #5300

Draft
rami3l wants to merge 4 commits into
rust-lang:mainfrom
rami3l:feat/override-toml-qualified-compatible
Draft

rami3l wants to merge 4 commits into
rust-lang:mainfrom
rami3l:feat/override-toml-qualified-compatible

Conversation

@rami3l

@rami3l rami3l commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Warning

Still WIP, please postpone the review.

Closes #5292:

The current rustup behavior is to reject fully-qualified names (or aliases resolved to them) in rust-toolchain[.toml] files

... this patch relaxes this restriction, allowing any qualified rust-toolchain.toml as long as they are compatible with the host platform, or if a --force-non-host override is present, as per check_non_host_toolchain().

Concerns

  • Testing of the --force-non-host case.
  • Testing of the compatible case, possibly on Windows.

@rami3l
rami3l force-pushed the feat/override-toml-qualified-compatible branch 3 times, most recently from f2e45de to b8904f4 Compare December 4, 2026 10:57
@rami3l
rami3l force-pushed the feat/override-toml-qualified-compatible branch from b8904f4 to d2aed9e Compare December 4, 2026 14:28

This branch has not been deployed

No deployments
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.

Provide better user guidance regarding fully-qualified names in rust-toolchain[.toml]

1 participant