Skip to content

Reduce dependency on implicit paths in bootstrap - #161663

Merged
rust-bors[bot] merged 5 commits into
rust-lang:mainfrom
Kobzol:bootstrap-explicit-paths
Aug 25, 2026
Merged

Reduce dependency on implicit paths in bootstrap#161663
rust-bors[bot] merged 5 commits into
rust-lang:mainfrom
Kobzol:bootstrap-explicit-paths

Conversation

@Kobzol

@Kobzol Kobzol commented Aug 24, 2026

Copy link
Copy Markdown
Member

Minor drive-by cleanup, reducing usage of some shared directories, and replacing it with depending on explicit paths.

Also found some env. vars. that I think have been unused for a long time.

r? jieyouxu

Kobzol added 5 commits August 24, 2026 11:30
And instead explicitly depend on the output of the `TestHelpers` step.
It doesn't seem to be used anywhere anymore.
It doesn't seem to be used anywhere anymore.
It was only used at one place.
And instead depend on the generated md doc directory path explicitly.
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Aug 24, 2026

@jieyouxu jieyouxu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, r=me with or without a remark.
@rustbot author

View changes since this review

Comment thread src/bootstrap/src/core/build_steps/test.rs
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 25, 2026
@Kobzol

Kobzol commented Aug 25, 2026

Copy link
Copy Markdown
Member Author

@bors r=jieyouxu rollup

I think that the test targets thing is a separate item that we can do in a follow-up, if there's some cleanup to do. Feel free to r- if you want to block this PR on that!

@rust-bors

rust-bors Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 5e43efd has been approved by jieyouxu

It is now in the queue for this repository.

@rust-bors rust-bors Bot added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Aug 25, 2026
@jieyouxu

Copy link
Copy Markdown
Member

No need -- I was moreso recalling that test_helpers was another quirky thing

JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Aug 25, 2026
…=jieyouxu

Reduce dependency on implicit paths in bootstrap

Minor drive-by cleanup, reducing usage of some shared directories, and replacing it with depending on explicit paths.

Also found some env. vars. that I think have been unused for a long time.

r? jieyouxu
rust-bors Bot pushed a commit that referenced this pull request Aug 25, 2026
Rollup of 5 pull requests

Successful merges:

 - #156749 (remove `box_patterns`)
 - #161411 (avoid overlapping const suggestions)
 - #161484 (Discard `.pdr` in the PSP linker script)
 - #161663 (Reduce dependency on implicit paths in bootstrap)
 - #161720 (rename rust_target_features query to make it clear that these are *all* target features)
@rust-bors
rust-bors Bot merged commit 2cb532c into rust-lang:main Aug 25, 2026
13 checks passed
@rustbot rustbot added this to the 1.100.0 milestone Aug 25, 2026
rust-bors Bot pushed a commit that referenced this pull request Aug 25, 2026
Rollup merge of #161663 - Kobzol:bootstrap-explicit-paths, r=jieyouxu

Reduce dependency on implicit paths in bootstrap

Minor drive-by cleanup, reducing usage of some shared directories, and replacing it with depending on explicit paths.

Also found some env. vars. that I think have been unused for a long time.

r? jieyouxu
@Kobzol
Kobzol deleted the bootstrap-explicit-paths branch August 25, 2026 12:00
pull Bot pushed a commit to LeeeeeeM/miri that referenced this pull request Aug 26, 2026
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#156749 (remove `box_patterns`)
 - rust-lang/rust#161411 (avoid overlapping const suggestions)
 - rust-lang/rust#161484 (Discard `.pdr` in the PSP linker script)
 - rust-lang/rust#161663 (Reduce dependency on implicit paths in bootstrap)
 - rust-lang/rust#161720 (rename rust_target_features query to make it clear that these are *all* target features)
flip1995 pushed a commit to flip1995/rust-clippy that referenced this pull request Aug 28, 2026
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#156749 (remove `box_patterns`)
 - rust-lang/rust#161411 (avoid overlapping const suggestions)
 - rust-lang/rust#161484 (Discard `.pdr` in the PSP linker script)
 - rust-lang/rust#161663 (Reduce dependency on implicit paths in bootstrap)
 - rust-lang/rust#161720 (rename rust_target_features query to make it clear that these are *all* target features)
vetleras pushed a commit to vetleras/rustfmt that referenced this pull request Aug 28, 2026
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#156749 (remove `box_patterns`)
 - rust-lang/rust#161411 (avoid overlapping const suggestions)
 - rust-lang/rust#161484 (Discard `.pdr` in the PSP linker script)
 - rust-lang/rust#161663 (Reduce dependency on implicit paths in bootstrap)
 - rust-lang/rust#161720 (rename rust_target_features query to make it clear that these are *all* target features)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants