Where Are the Docs For the `rust-toolchain.toml` file?

I know you can use the rust-toolchain.toml file to set the toolchain used to build a project by default, but where are the docs on it? I expected it to be in the Cargo docs initially, and then the Rustup CLI docs, but I didn't find anything.

It's part of the rustup docs on overrides

https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file

1 Like

Ah, thank you! I didn't know Rustup had a docs site.

Rustup needs the rustup doc --rustup command. :smiley: