Skip to content

Commit 2c28244

Browse files
committed
Auto merge of rust-lang#74796 - infinity0:master, r=nikomatsakis
config.toml.example: Update remap-debuginfo doc to be more general & accurate This makes it more obvious that the work-around to rust-lang#74786 is actually correct, and a custom `--remap-path-prefix` isn't needed. In fact the previous comment `/rustc/$hash/$crate` was wrong, it is not `$crate` but whatever path exists in the rustc source tree, so either `src/$crate` or `vendor/$crate`. I've fixed that as well to avoid future confusion.
2 parents 1f5d69d + 1f25a4b commit 2c28244

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config.toml.example

+1-2
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,7 @@
453453
# instead of LLVM's default of 100.
454454
#thin-lto-import-instr-limit = 100
455455

456-
# Map all debuginfo paths for libstd and crates to `/rust/$sha/$crate/...`,
457-
# generally only set for releases
456+
# Map debuginfo paths to `/rust/$sha/...`, generally only set for releases
458457
#remap-debuginfo = false
459458

460459
# Link the compiler against `jemalloc`, where on Linux and OSX it should

0 commit comments

Comments
 (0)