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

Honor the rustfmt setting in config.toml #78842

Merged
merged 1 commit into from
Nov 8, 2020

Commits on Nov 7, 2020

  1. Honor the rustfmt setting in config.toml

    Prior to this, setting the rustfmt configuration was ignored:
    
    ```
    % mkdir example
    
    % cd example
    
    % ../configure --set build.rustfmt=/usr/bin/true
    
    % ../x.py fmt
    ./x.py fmt is not supported on this channel
    failed to run: /Users/shep/Projects/rust/example/build/bootstrap/debug/bootstrap fmt
    Build completed unsuccessfully in 0:00:01
    ```
    
    And after:
    
    ```
    % ../x.py fmt
    Build completed successfully in 0:00:11
    ```
    shepmaster committed Nov 7, 2020
    Configuration menu
    Copy the full SHA
    8cae2f1 View commit details
    Browse the repository at this point in the history