bootstrap: Remove PATH_REMAP from command-line selector handling - #160675
Merged
Conversation
Collaborator
|
r? @clubby789 rustbot has assigned @clubby789. Use Why was this reviewer chosen?The reviewer was selected based on:
|
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`.
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. |
Contributor
|
@bors r+ |
Contributor
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-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.
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.
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 testsnaturally selects all of the test suites intests.(This changes the order of steps listed in the relevant snapshot tests, but the set of steps is unchanged.)
The removal of
ShouldRun::kindis not essential to this PR, but I included it because it would have conflicted with changes to ShouldRun's alias-related methods.