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

Named profile updates #9685

Merged
merged 3 commits into from
Jul 20, 2021
Merged

Named profile updates #9685

merged 3 commits into from
Jul 20, 2021

Commits on Jul 13, 2021

  1. Disable the dir-name profile setting.

    dir-name primarily exists for translating the built-in profiles. In
    order to simplify the UI, we would like to not expose it to the user for
    the initial stabilization. The code to support it is kept in case we
    want to add it in the future.
    ehuss committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    090eb42 View commit details
    Browse the repository at this point in the history
  2. Reserve some names for named profiles.

    Just to give a little flexibility in the future in case we want to use
    these, or that they could cause confusion. Also updated the error text a
    little.
    ehuss committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    51dc5db View commit details
    Browse the repository at this point in the history
  3. Support custom profiles in legacy commands.

    This makes the following changes:
    
    - Allows `cargo check`, `cargo fix`, and `cargo rustc` to support custom
      named profiles. This retains the legacy behavior of those commands.
    - Fixes `cargo bench` so that it supports custom named profiles.
    ehuss committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    73dba76 View commit details
    Browse the repository at this point in the history