Skip to content

Commit

Permalink
Auto merge of rust-lang#74796 - infinity0:master, r=nikomatsakis
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jul 28, 2020
2 parents 1f5d69d + 1f25a4b commit 2c28244
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config.toml.example
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,7 @@
# instead of LLVM's default of 100.
#thin-lto-import-instr-limit = 100

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

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

0 comments on commit 2c28244

Please sign in to comment.