Get rid of /rustc/$hash hack #72953
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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 separateRealFileName
enum), then we should be able to do away with the/rustc/$hash
prefix hack entirely within the rustc source code.The text was updated successfully, but these errors were encountered: