Make message about rust-toolchain.toml a warning
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
Research direction
Search the rustup source for the exact message about the toolchain being overridden by rust-toolchain.toml, using the linked GitHub Actions log as the expected current output. Change only its severity and run the relevant rustup checks to confirm the same configuration now appears as a warning without changing toolchain behavior.
Written by the indexing model from the issue text.
Description
Problem you are trying to solve
In our Github CI for Ratatui, we have a setup which installs rust beta using dtolnay/rust-toolchain, which eventually delegates to rustup. We anticipated that this would cause cargo to run using the beta toolchain, but missed that rust-toolchain overrides this. There is an existing message that highlights this problem in rustup, but I think this should likely be written as a warning level rather than an info level message:
https://github.com/ratatui/ratatui/actions/runs/18035682655/job/51321994095#step:3:84
info: note that the toolchain 'stable-x86_64-unknown-linux-gnu' is currently in use (overridden by '/home/runner/work/ratatui/ratatui/rust-toolchain.toml')
To be clear, this is about making a problematic configuration simple and obvious, it's not about changing how the rustup / rust-toolchain.toml things work.
Solution you'd like
Change this log message to an warning to make it more visible in logs
Notes
No response
- Dominant language
- Rust
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 46
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rust-lang/rustup
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
E-easy enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
enhancement O-shell
Difficulty 1/5 Under an hour Newbie friendliness 72/100
-
enhancement
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
All issues in rust-lang/rustup
Similar issues
-
bug CLI custom-model
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
rust-bitcoin/rust-bitcoin#6930 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
fulcrumgenomics/ferro-hgvs#2251 ·
-
A-allocators A-docs C-enhancement T-libs
Difficulty 2/5 1-3 hours Newbie friendliness 75/100