Create a directory override for the current folder.
Section: Toolchains
Pin a toolchain in one directory
bash
bash
rustup override set stableExplanation
Directory overrides let a project use a different toolchain than global default.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Toolchains