Describe the problem you are trying to solve
The rust-toolchain file accepts TOML syntax since #2438, but it still can't have a toml file extension (i.e. rust-toolchain.toml). Thus, the used markup language is not clear to both users and IDEs.
Describe the solution you'd like
Allow an optional .toml extension for the file so that both rust-toolchain and rust-toolchain.toml are valid.
Notes
A similar approach was taken for Cargo's .cargo/config files, which now can be named .cargo/config.toml too: rust-lang/cargo#7295
Describe the problem you are trying to solve
The
rust-toolchainfile accepts TOML syntax since #2438, but it still can't have atomlfile extension (i.e.rust-toolchain.toml). Thus, the used markup language is not clear to both users and IDEs.Describe the solution you'd like
Allow an optional
.tomlextension for the file so that bothrust-toolchainandrust-toolchain.tomlare valid.Notes
A similar approach was taken for Cargo's
.cargo/configfiles, which now can be named.cargo/config.tomltoo: rust-lang/cargo#7295