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

Label more build steps #92182

Merged
merged 2 commits into from
Jan 5, 2022
Merged

Commits on Jan 3, 2022

  1. Label more build steps.

    Currently the output of a command like `./x.py build --stage 0 library/std` is this:
    ```
    Updating only changed submodules
    Submodules updated in 0.02 seconds
    extracting [...]
       Compiling [...]
        Finished dev [unoptimized] target(s) in 17.53s
    Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
       Compling [...]
        Finished release [optimized + debuginfo] target(s) in 21.99s
    Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
    Build completed successfully in 0:00:51
    ```
    I find the part before the "Building stage0 std artifacts" a bit confusing.
    
    After this commit, it looks like this:
    ```
    Updating only changed submodules
      Submodules updated in 0.02 seconds
    extracting [...]
    Building rustbuild
       Compiling [...]
        Finished dev [unoptimized] target(s) in 17.53s
    Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
       Compling [...]
        Finished release [optimized + debuginfo] target(s) in 21.99s
    Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
    Build completed successfully in 0:00:51
    ```
    The "Building rustbuild" label makes it clear what the first cargo build
    invocation is for. The indentation of the "Submodules updated" line
    indicates it is a sub-step of a parent task.
    nnethercote committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    10e3d92 View commit details
    Browse the repository at this point in the history
  2. Tweak the usage messages for x.py build and x.py check.

    They're a bit out of date, and overly complicated.
    nnethercote committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    2e74ca1 View commit details
    Browse the repository at this point in the history