Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add .toml file extension restriction for -Zconfig-include #12298

Merged
merged 3 commits into from
Jun 21, 2023

Commits on Jun 21, 2023

  1. feat: check if config-include file ends with .toml

    This is to avoid possible name collisions. For example, a user
    creates a file called `.cargo/cache`, and then in the future
    cargo wants to create a directory called `.cargo/cache/`, that
    would collide with what the user specified. Restricting to `.toml`
    extensions would avoid that since we won’t make a directory named
    with a `.toml` extension.
    weihanglo committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    3f82ec7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33b0a24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    26b7725 View commit details
    Browse the repository at this point in the history