-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Improve building compiler artifacts output #108171
Conversation
r? @ozkanonur (rustbot has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yess.
One note; might be worth also having a message when a build stage finishes (or even when one fails) with the same information
this is quite difficult to do unfortunately :( cc #86022 (comment) |
it turns out I had time for this after all r? @jyn514 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is awesome ❤️ ❤️ ❤️
some more things I tried that all worked great:
; x dist --dry-run clippy
Building bootstrap
Finished dev [unoptimized] target(s) in 0.04s
Building stage0 library artifacts (aarch64-apple-darwin)
Building compiler artifacts (stage0 -> stage1)
Assembling stage1 compiler
Building stage1 library artifacts (aarch64-apple-darwin)
Building compiler artifacts (stage1 -> stage2)
Building tool clippy-driver (stage1 -> stage2)
Building tool cargo-clippy (stage1 -> stage2)
Building tool rust-installer (stage0)
Dist clippy-1.69.0-dev-aarch64-apple-darwin
; x build --dry-run rustdoc miri --target x86_64-unknown-linux-gnu library
Building bootstrap
Finished dev [unoptimized] target(s) in 0.04s
Building stage0 library artifacts (aarch64-apple-darwin)
Building compiler artifacts (stage0 -> stage1)
Assembling stage1 compiler
Building stage1 library artifacts (aarch64-apple-darwin -> x86_64-unknown-linux-gnu)
Building rustdoc (stage0 -> stage1)
Building stage1 library artifacts (aarch64-apple-darwin)
Building compiler artifacts (stage1 -> stage2)
Building tool miri (stage1 -> stage2)
; x t --stage 1 rustc_data_structures --dry-run
Building bootstrap
Finished dev [unoptimized] target(s) in 0.15s
Building stage0 library artifacts (aarch64-apple-darwin)
Building compiler artifacts (stage0 -> stage1)
Assembling stage1 compiler
Building stage1 library artifacts (aarch64-apple-darwin)
Building rustdoc (stage0 -> stage1)
Testing {rustc_data_structures} stage1 (aarch64-apple-darwin -> aarch64-apple-darwin)
@rustbot author |
@jyn514 thanks for the feedback! I'm glad it's already proving a bit useful 😁 I wanted to get something up for review quickly in case there were mistakes. I'll refactor this and mark it as ready when it's up. |
4e382f3
to
1b4f995
Compare
@rustbot ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=me with the nit fixed :)
src/bootstrap/tool.rs
Outdated
fn tooling_output( | ||
mode: Mode, | ||
tool: &str, | ||
stage: u32, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: because you're doing math on it, please name it build_stage
. Then in the Rustdoc Step, you can pass in build_compiler.stage instead of doing math on target_compiler.stage.
@bors delegate=mattjperez rollup (please use |
✌️ @mattjperez can now approve this pull request |
1b4f995
to
551b894
Compare
551b894
to
40f012a
Compare
@bors r=jyn514 😁 |
…ut, r=jyn514 Improve building compiler artifacts output Fixes rust-lang#108051 `@Manishearth,` `@jyn514` mentioned you might be interested in these changes to the outputs.
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#108124 (Document that CStr::as_ptr returns a type alias) - rust-lang#108171 (Improve building compiler artifacts output) - rust-lang#108200 (Use restricted Damerau-Levenshtein distance for diagnostics) - rust-lang#108259 (remove FIXME that doesn't require fixing) - rust-lang#108265 ("`const` generic" -> "const parameter") Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
…lbertlarsan68 bootstrap: Update the output of the `check` descriptions This should bring the output from `x check` in line with the changes in rust-lang#108171
…lbertlarsan68 bootstrap: Update the output of the `check` descriptions This should bring the output from `x check` in line with the changes in rust-lang#108171
…lbertlarsan68 bootstrap: Update the output of the `check` descriptions This should bring the output from `x check` in line with the changes in rust-lang#108171
Fixes #108051
@Manishearth, @jyn514 mentioned you might be interested in these changes to the outputs.