-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Only check the compiler and standard library before documenting them (take 2) #95450
Conversation
(rust-highfive has picked a reviewer for you, use r? to override) |
r? @ghost |
@bors try |
⌛ Trying commit 69e8a815f045efca712f5149853dd73e34b68967 with merge 23522fca09aeb8a44837a2b203076ee6a491b431... |
☀️ Try build successful - checks-actions |
I have no idea how to test this :( the error in #88675 only showed up in the full bors test, and I've been unable to reproduce it locally. I tried docker but I can't run arm64 containers locally: https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/How.20to.20reproduce.20try.20run.20error/near/277207099 I guess you could just approve the PR and hope it works? At least it would let me download the build log, the old one's expired. |
I'm happy to approve it to try it on CI but you'll need to revert the CI changes so we don't by accident land those :) |
Sure, done :) and if you have suggestions for how to test this without a full bors run, that would be extremely helpful too. |
@rustbot ready |
re:full CI, try builds should be equivalent, unlike on-PR builds which have a different and more limited set of permissions. The changes here seem broadly correct though so I'm happy to run full CI and we can move to try builds for faster iteration after that (I can delegate or whatever the PR if you don't have permissions). @bors r+ |
📋 Looks like this PR is still in progress, ignoring approval. Hint: Remove [WIP] from this PR's title when it is ready for review. |
@bors delegate+ |
✌️ @jyn514 can now approve this pull request |
@rustbot label -S-waiting-on-review +S-waiting-on-author |
@bors r=Mark-Simulacrum rollup=never |
📌 Commit bbdcd25a27e2b53d8f740dfe470a51cee60669ca has been approved by |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
Ok great this is the error from last year - I'll save the log file this time and see if I can figure out how to reproduce. |
Wasn't able to reproduce, but did come up with the idea this might be because both the |
Rustdoc doesn't require the build artifacts to generate the docs, and especially in the case of rustc, it greatly increases the time needed to run the build. - Statically ensure that only the top_stage of a tool is documented If another part of rustbuild tried to document a different stage, it would run into errors because `check::Rustc` unconditionally uses the top stage. - Try building rustc instead of checking to avoid duplicate artifacts Tries to workaround the following error: ``` error[E0464]: multiple matching crates for `rustc_ast` --> src/librustdoc/lib.rs:40:1 | 40 | extern crate rustc_ast; | ^^^^^^^^^^^^^^^^^^^^^^^ | = note: candidates: crate `rustc_ast`: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_ast-6d7c193782263d89.rlib crate `rustc_ast`: /checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_ast-e5d09eda5beb759c.rmeta ```
@bors r=Mark-Simulacrum rollup=never If this doesn't work, I think I'm going to try and merge the libstd changes separately, they should be less likely to fail. |
📌 Commit dd0ad73 has been approved by |
☀️ Test successful - checks-actions |
Finished benchmarking commit (27490eb): comparison url. Summary:
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. Next Steps: If you can justify the regressions found in this perf run, please indicate this with @rustbot label: +perf-regression Footnotes |
I think these are just noise. The bootstrap changes don't affect |
Visiting for weekly performance triage.
@rustbot label: +perf-regression-triaged |
Trying #88675 again.