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

[bootstrap] Give a better error when trying to run a path with no registered step #96660

Merged
merged 1 commit into from
May 7, 2022

Commits on May 3, 2022

  1. [bootstrap] Give a better error when trying to run a path with no reg…

    …istered step
    
    Before:
    ```
    thread 'main' panicked at 'error: no rules matched invalid', src/bootstrap/builder.rs:287:17
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    ```
    
    After:
    ```
    error: no `check` rules matched 'invalid'
    help: run `x.py check --help --verbose` to show a list of available paths
    note: if you are adding a new Step to bootstrap itself, make sure you register it with `describe!`
    ```
    jyn514 committed May 3, 2022
    Configuration menu
    Copy the full SHA
    3a800bf View commit details
    Browse the repository at this point in the history