about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-04 02:30:18 +0000
committerbors <bors@rust-lang.org>2021-04-04 02:30:18 +0000
commit0850c37bd390ca9eac644031565f74dd747596a6 (patch)
tree738a6aa14d8574b0863db7db4eeafa62b0aa9584 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent2616ab1c57e2d69f989307389b27ee996ed82575 (diff)
parented89e6b831424ea68060c4f8b1145637d6ee15a5 (diff)
downloadrust-0850c37bd390ca9eac644031565f74dd747596a6.tar.gz
rust-0850c37bd390ca9eac644031565f74dd747596a6.zip
Auto merge of #83529 - richkadel:demangler, r=tmandry
Make rust-demangler installable

Adds bootstrap rules to support installing rust-demangler, as an optional, in-tree `extended` tool. It can be included by updating `config.toml`, setting `extended = true`, and then either (a) adding `"rust-demangler"` to the `tools` array, or by enabling `profiler = true`. In other words, it is a _default_ `extended` tool if `profiler = true`.

When compiling with `-Z instrument-coverage`, the coverage reports are
generated by `llvm-cov`. `llvm-cov` includes a built-in demangler for
C++, and an option to supply an alternate demangler. For Rust, we have
`rust-demangler`, currently used in `rustc` coverage tests.

Fuchsia's toolchain for Rust is built via `./x.py install`. Fuchsia is
adding support for Rust coverage, and we need to include the
`rust-demangler` in the installed `bin` directory.

r? `@tmandry`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions