Skip to content

Commit 45ff3ac

Browse files
Removing absolute path in '.rustc' section
With rust 1.75 the absolute build path is embedding into '.rustc' section and which causes reproducibility issues. Detailed issue is here. rust-lang#120825 (comment) With this change the 'absolute path' changed back to '/rust/$hash' format.
1 parent 77be7a3 commit 45ff3ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_session/src/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ impl Session {
907907
| CrateType::Rlib
908908
| CrateType::Staticlib
909909
| CrateType::Cdylib => continue,
910-
CrateType::ProcMacro => return false,
910+
CrateType::ProcMacro => return true,
911911
}
912912
}
913913

0 commit comments

Comments
 (0)