Skip to content

Optional .toml extension for rust-toolchain file? #2652

@phil-opp

Description

@phil-opp

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions