Skip to content

Commit 5abc4cd

Browse files
committed
Remove duplication of RUSTC_DEBUGINFO_MAP in rustc.rs
1 parent 2d6f3fe commit 5abc4cd

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/bootstrap/bin/rustc.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,6 @@ fn main() {
164164
} else {
165165
cmd.arg("-C").arg(format!("debug-assertions={}", debug_assertions));
166166
}
167-
168-
if let Ok(map) = env::var("RUSTC_DEBUGINFO_MAP") {
169-
cmd.arg("--remap-path-prefix").arg(&map);
170-
}
171167
} else {
172168
// Override linker if necessary.
173169
if let Ok(host_linker) = env::var("RUSTC_HOST_LINKER") {

0 commit comments

Comments
 (0)