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.

2 Likes

It's part of the rustup docs on overrides

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

3 Likes

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

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

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.