You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to build https://github.com/rust-lang/www.rust-lang.org and encountering some very confusing behavior - it was complaining about edition 2021 stuff, even though I am using the latest nightly as my default toolchain.
Eventually I thought to check rustup toolchain list, and saw:
I had never heard of overrides before! The first place I checked was rustup toolchain help, which didn't mention them. I search "rustup override", and found https://rust-lang.github.io/rustup/overrides.html, which answered my question; but I got confused again because, skimming, I just looked at the "directory override" and concluded I had none.
Solution you'd like
The help text should describe overrides.
Also, the (override) notation should indicate where the override came from, e.g.:
FWIW rustup show has been providing much more since #3225:
> rustup --versionrustup 1.27.1+198 (81a71647f 2024-06-09)info: This is the version for the rustup toolchain manager, not the rustc compiler.info: The currently active `rustc` version is `rustc 1.78.0 (9b00956e5 2024-04-29)`
> rustup showDefault host: aarch64-apple-darwinrustup home: /Users/rami3l/.rustupinstalled toolchains--------------------stable-aarch64-apple-darwin (active, default)nightly-aarch64-apple-darwinactive toolchain----------------name: stable-aarch64-apple-darwincompiler: rustc 1.78.0 (9b00956e5 2024-04-29)active because: it's the default toolchaininstalled targets: aarch64-apple-darwin
Problem you are trying to solve
I was trying to build https://github.com/rust-lang/www.rust-lang.org and encountering some very confusing behavior - it was complaining about edition 2021 stuff, even though I am using the latest nightly as my default toolchain.
Eventually I thought to check
rustup toolchain list
, and saw:I had never heard of overrides before! The first place I checked was
rustup toolchain help
, which didn't mention them. I search "rustup override", and found https://rust-lang.github.io/rustup/overrides.html, which answered my question; but I got confused again because, skimming, I just looked at the "directory override" and concluded I had none.Solution you'd like
The help text should describe overrides.
Also, the
(override)
notation should indicate where the override came from, e.g.:Notes
No response
The text was updated successfully, but these errors were encountered: