Skip to content

bootstrap: Remove PATH_REMAP from command-line selector handling - #160675

Merged
rust-bors[bot] merged 3 commits into
rust-lang:mainfrom
Zalathar:path-remap
Aug 10, 2026
Merged

bootstrap: Remove PATH_REMAP from command-line selector handling #160675
rust-bors[bot] merged 3 commits into
rust-lang:mainfrom
Zalathar:path-remap

Conversation

@Zalathar

@Zalathar Zalathar commented Aug 7, 2026

Copy link
Copy Markdown
Member

Remapping of "rust-analyzer-proc-macro-srv" can be avoided by registering it as an alias attached to the real path.

Remapping of "test" is not necessary at all, since ./x test tests naturally selects all of the test suites in tests.

(This changes the order of steps listed in the relevant snapshot tests, but the set of steps is unchanged.)


The removal of ShouldRun::kind is not essential to this PR, but I included it because it would have conflicted with changes to ShouldRun's alias-related methods.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 7, 2026
@rustbot rustbot added the T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) label Aug 7, 2026
@rustbot

rustbot commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

r? @clubby789

rustbot has assigned @clubby789.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: bootstrap
  • bootstrap expanded to 6 candidates
  • Random selection from Mark-Simulacrum, clubby789

When registering selector paths/aliases, steps shouldn't need to know their
kind.
Remapping of "rust-analyzer-proc-macro-srv" can be avoided by registering it as
an alias attached to the real path.

Remapping of "test" is not necessary at all, since `./x test tests` naturally
selects all of the test suites in `tests`.
@rustbot

rustbot commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@clubby789

Copy link
Copy Markdown
Contributor

@bors r+

@rust-bors

rust-bors Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 6e3f911 has been approved by clubby789

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-review Status: Awaiting review from the assignee but also interested parties. labels Aug 9, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Aug 9, 2026
bootstrap: Remove `PATH_REMAP` from command-line selector handling

Remapping of "rust-analyzer-proc-macro-srv" can be avoided by registering it as an alias attached to the real path.

Remapping of "test" is not necessary at all, since `./x test tests` naturally selects all of the test suites in `tests`.

(This changes the order of steps listed in the relevant snapshot tests, but the set of steps is unchanged.)

---

The removal of `ShouldRun::kind` is not essential to this PR, but I included it because it would have conflicted with changes to ShouldRun's alias-related methods.
rust-bors Bot pushed a commit that referenced this pull request Aug 10, 2026
Rollup of 7 pull requests

Successful merges:

 - #160533 (dirfd dir operations (3/4))
 - #160675 (bootstrap: Remove `PATH_REMAP` from command-line selector handling )
 - #160807 (Update rustc crate rkyv to 0.8.18)
 - #160560 (Add nightly-only support for Cargo unremap trim-paths files in `rust-gdb`)
 - #160804 (Change .expect message on net/parser to follow precondition style)
 - #160805 (`extern "custom"`: add tests)
 - #160816 (Mark const ptr methods and free functions as inline(always) to match *mut)
rust-bors Bot pushed a commit that referenced this pull request Aug 10, 2026
Rollup of 11 pull requests

Successful merges:

 - #160675 (bootstrap: Remove `PATH_REMAP` from command-line selector handling )
 - #160807 (Update rustc crate rkyv to 0.8.18)
 - #159690 (Clarify `--remap-path-scope` impact on `rustc` metadata)
 - #160560 (Add nightly-only support for Cargo unremap trim-paths files in `rust-gdb`)
 - #160608 (normalization rework: clean up projection_ty_core)
 - #160785 (Get rid of LLM disclosure checkboxes)
 - #160804 (Change .expect message on net/parser to follow precondition style)
 - #160805 (`extern "custom"`: add tests)
 - #160816 (Mark const ptr methods and free functions as inline(always) to match *mut)
 - #160820 (Stabilize fs_set_times)
 - #160826 (Rename parse_delimited_token_tree in cfg_select)
@rust-bors
rust-bors Bot merged commit 344cdcf into rust-lang:main Aug 10, 2026
13 checks passed
rust-timer added a commit that referenced this pull request Aug 10, 2026
Rollup merge of #160675 - Zalathar:path-remap, r=clubby789

bootstrap: Remove `PATH_REMAP` from command-line selector handling

Remapping of "rust-analyzer-proc-macro-srv" can be avoided by registering it as an alias attached to the real path.

Remapping of "test" is not necessary at all, since `./x test tests` naturally selects all of the test suites in `tests`.

(This changes the order of steps listed in the relevant snapshot tests, but the set of steps is unchanged.)

---

The removal of `ShouldRun::kind` is not essential to this PR, but I included it because it would have conflicted with changes to ShouldRun's alias-related methods.
@rustbot rustbot added this to the 1.99.0 milestone Aug 10, 2026
@Zalathar
Zalathar deleted the path-remap branch August 10, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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