rustup override
all
Modify directory toolchain overrides. See `rustup help toolchain` for more information about toolchains.
More info →Examples (4)
List directiory toolchain overrides
rustup override listSet the override toolchain for the current directory (i.e. tell `rustup` to run `cargo`, `rustc`, etc. from a specific toolchain when in that directory)
rustup override set toolchainRemove the toolchain override for the current directory
Remove all toolchain overrides for directories that no longer exist
rustup override unset --nonexistentmade by @shridhargupta | data from tldr-pages