bootstrap: Move several items out of the crate root - #161157
Open
Zalathar wants to merge 8 commits into
Open
Conversation
This seems to be the module that relies on them the most, and other modules already pull in things from `dist`.
Collaborator
|
This PR modifies If appropriate, please update |
Collaborator
|
rustbot has assigned @Mark-Simulacrum. Use Why was this reviewer chosen?The reviewer was selected based on:
|
This comment was marked as resolved.
This comment was marked as resolved.
Zalathar
force-pushed
the
bootstrap-root
branch
2 times, most recently
from
August 16, 2026 07:38
6993a01 to
96150c2
Compare
Member
|
You can r=me once PR CI is green. r? me |
Zalathar
force-pushed
the
bootstrap-root
branch
from
August 16, 2026 07:50
96150c2 to
e511419
Compare
fbstj
reviewed
Aug 16, 2026
Comment on lines
+9
to
+10
| /// corresponds to the platform the compiler runs on. This structure is used as | ||
| /// a parameter to many methods below. |
Contributor
There was a problem hiding this comment.
'below' no longer makes sense?
Member
Author
There was a problem hiding this comment.
It already doesn’t make much sense as-is, so dropping the sentence entirely is probably wise.
Member
Author
|
PR CI is green. I'll push a trivial fix for the comment, then approve. |
The destination is `crate::core::builder::cargo`, the new name is `prepare_shims_dump_dir`, and the adjustment is to take `&Builder<'_>` instead of `&Build`.
Zalathar
force-pushed
the
bootstrap-root
branch
from
August 16, 2026 10:12
e511419 to
d5a8464
Compare
Member
Author
|
@bors r=Kobzol |
Contributor
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Aug 16, 2026
bootstrap: Move several items out of the crate root Prior to bulk-moving everything out of the crate root, this PR moves several individual items to more suitable modules. There should be no change to bootstrap behaviour.
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this pull request
Aug 16, 2026
bootstrap: Move several items out of the crate root Prior to bulk-moving everything out of the crate root, this PR moves several individual items to more suitable modules. There should be no change to bootstrap behaviour.
rust-bors Bot
pushed a commit
that referenced
this pull request
Aug 16, 2026
Rollup of 12 pull requests Successful merges: - #160529 (Upgrade and deduplicate dependencies) - #161017 (Library: enforce clippy deref lints in CI) - #156674 (bootstrap: add bootstrap step to run stdarch-gen checks in CI) - #161006 ([CI] Build newer `binutils` before building `gcc`) - #161141 (Add documentation for BPF targets) - #161157 (bootstrap: Move several items out of the crate root) - #161053 (Add regression test for borrow of array drop type in const) - #161073 (Add regression test for path printing with infinitely many visible names) - #161099 (Add regression test for unstable def_ident_span fingerprint with incremental recompilation) - #161146 (Switch to c8a EC2 runner for auto merges) - #161148 ([rustdoc] Put back one removed flaky GUI test (which hopefully isn't flaky anymore)) - #161150 (add crashtests [4/N])
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Aug 16, 2026
bootstrap: Move several items out of the crate root Prior to bulk-moving everything out of the crate root, this PR moves several individual items to more suitable modules. There should be no change to bootstrap behaviour.
rust-bors Bot
pushed a commit
that referenced
this pull request
Aug 16, 2026
…uwer Rollup of 12 pull requests Successful merges: - #160529 (Upgrade and deduplicate dependencies) - #161017 (Library: enforce clippy deref lints in CI) - #156674 (bootstrap: add bootstrap step to run stdarch-gen checks in CI) - #161006 ([CI] Build newer `binutils` before building `gcc`) - #161141 (Add documentation for BPF targets) - #161157 (bootstrap: Move several items out of the crate root) - #161053 (Add regression test for borrow of array drop type in const) - #161073 (Add regression test for path printing with infinitely many visible names) - #161099 (Add regression test for unstable def_ident_span fingerprint with incremental recompilation) - #161103 (cleanup: rip out unnecessary `iter().last()` and `iter().next()`) - #161146 (Switch to c8a EC2 runner for auto merges) - #161148 ([rustdoc] Put back one removed flaky GUI test (which hopefully isn't flaky anymore))
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Aug 16, 2026
bootstrap: Move several items out of the crate root Prior to bulk-moving everything out of the crate root, this PR moves several individual items to more suitable modules. There should be no change to bootstrap behaviour.
rust-bors Bot
pushed a commit
that referenced
this pull request
Aug 16, 2026
…uwer Rollup of 17 pull requests Successful merges: - #160529 (Upgrade and deduplicate dependencies) - #161017 (Library: enforce clippy deref lints in CI) - #160416 (std: fix unix socket address truncation without a trailing NUL) - #161006 ([CI] Build newer `binutils` before building `gcc`) - #161141 (Add documentation for BPF targets) - #161157 (bootstrap: Move several items out of the crate root) - #161185 (std: guard against unwinds in queue-based `Once`) - #161186 (miri subtree update) - #159855 (std: retry waitid on EINTR in the pidfd wait path) - #161053 (Add regression test for borrow of array drop type in const) - #161073 (Add regression test for path printing with infinitely many visible names) - #161099 (Add regression test for unstable def_ident_span fingerprint with incremental recompilation) - #161103 (cleanup: rip out unnecessary `iter().last()` and `iter().next()`) - #161136 (Add BPF test for Rust ABI stack arguments) - #161146 (Switch to c8a EC2 runner for auto merges) - #161148 ([rustdoc] Put back one removed flaky GUI test (which hopefully isn't flaky anymore)) - #161181 (Add back flaky gui rustdoc test `tests/rustdoc-gui/headers-color.goml`)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Aug 16, 2026
bootstrap: Move several items out of the crate root Prior to bulk-moving everything out of the crate root, this PR moves several individual items to more suitable modules. There should be no change to bootstrap behaviour.
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Aug 16, 2026
bootstrap: Move several items out of the crate root Prior to bulk-moving everything out of the crate root, this PR moves several individual items to more suitable modules. There should be no change to bootstrap behaviour.
rust-bors Bot
pushed a commit
that referenced
this pull request
Aug 16, 2026
…uwer Rollup of 17 pull requests Successful merges: - #161017 (Library: enforce clippy deref lints in CI) - #160416 (std: fix unix socket address truncation without a trailing NUL) - #161006 ([CI] Build newer `binutils` before building `gcc`) - #161141 (Add documentation for BPF targets) - #161157 (bootstrap: Move several items out of the crate root) - #161185 (std: guard against unwinds in queue-based `Once`) - #161186 (miri subtree update) - #159855 (std: retry waitid on EINTR in the pidfd wait path) - #160478 (diagnostics: Suggest fn binding type for unstable closure for<> binders) - #161053 (Add regression test for borrow of array drop type in const) - #161073 (Add regression test for path printing with infinitely many visible names) - #161099 (Add regression test for unstable def_ident_span fingerprint with incremental recompilation) - #161103 (cleanup: rip out unnecessary `iter().last()` and `iter().next()`) - #161136 (Add BPF test for Rust ABI stack arguments) - #161146 (Switch to c8a EC2 runner for auto merges) - #161148 ([rustdoc] Put back one removed flaky GUI test (which hopefully isn't flaky anymore)) - #161181 (Add back flaky gui rustdoc test `tests/rustdoc-gui/headers-color.goml`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prior to bulk-moving everything out of the crate root, this PR moves several individual items to more suitable modules.
There should be no change to bootstrap behaviour.