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
RUST_VERSION is computed by running rustc -V, while RUST_CHANNEL by running rustup default
In presence of rust-toolchain.toml these may disagree.
Example: I have nightly configured by default (hence rustup default reports nightly channel), however in my crate I have
rust-toolchain.toml
[toolchain]
channel = "stable"
So, rustc -V reports the current stable version (as installed).
Understanding the discrepancy when these are reported by the running binary may be a tough exercise
The text was updated successfully, but these errors were encountered:
RUST_VERSION
is computed by runningrustc -V
, whileRUST_CHANNEL
by runningrustup default
In presence of
rust-toolchain.toml
these may disagree.Example: I have nightly configured by default (hence
rustup default
reports nightly channel), however in my crate I haverust-toolchain.toml
So,
rustc -V
reports the current stable version (as installed).Understanding the discrepancy when these are reported by the running binary may be a tough exercise
The text was updated successfully, but these errors were encountered: