-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Spawned off of a8e4236
Right now, /rustc/$hash
is used as a magic prefix to track paths into libstd source so that it can be remapped to local developer paths when they install the rust-src component.
But, as @eddyb pointed out on PR #72767, once we are willing to actually allocate another entry in the FileName
enum (or its moral equivalent, splitting the payload of one of its variants into two via a separate RealFileName
enum), then we should be able to do away with the /rustc/$hash
prefix hack entirely within the rustc source code.
Metadata
Metadata
Assignees
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.