- create a
rust-toolchain.toml
file in your root of your project and add the 'channel' field with the version of Rust you want to pin to
[toolchain]
channel = "1.57.0"
components = [ "rustfmt", "clippy" ]
rust-toolchain.toml
file in your root of your project and add the 'channel' field with the version of Rust you want to pin to[toolchain]
channel = "1.57.0"
components = [ "rustfmt", "clippy" ]