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

Support "default" option for build.jobs #12222

Merged
merged 1 commit into from
Jun 3, 2023
Merged

Commits on Jun 3, 2023

  1. Support "default" option for build.jobs

    This commit adds support for passing the keyword "default"
    to either the CLI "--jobs" argument on the "[build.jobs]"
    section of ".cargo/config".
    
    This is dony by:
      1. Changing the "jobs" config type to an enum that holds
         a String or an Integer(i.e. i32).
      2. Matching the enum & casting it to an integer
    
    Signed-off-by: Charalampos Mitrodimas <[email protected]>
    charmitro committed Jun 3, 2023
    Configuration menu
    Copy the full SHA
    a777b82 View commit details
    Browse the repository at this point in the history