diff options
| author | Rich Kadel <richkadel@google.com> | 2021-03-26 13:02:46 -0700 |
|---|---|---|
| committer | Rich Kadel <richkadel@google.com> | 2021-04-03 11:42:54 -0700 |
| commit | 23325caf43d16e8caf77f8d4855ff568b6d143be (patch) | |
| tree | 0e1805e4cda956aa04b993790affc559b15228c7 /config.toml.example | |
| parent | 97717a561844eccbb6d6cc114adb94a8fa4e0172 (diff) | |
| download | rust-23325caf43d16e8caf77f8d4855ff568b6d143be.tar.gz rust-23325caf43d16e8caf77f8d4855ff568b6d143be.zip | |
Make rust-demangler installable
Adds bootstrap rules to support installing rust-demangler. 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. Configured rust-demangler as an in-tree extended tool. Added tests to support `./x.py test rust-demangler`. Install with extended tools by default only if `profiler = true`.
Diffstat (limited to 'config.toml.example')
| -rw-r--r-- | config.toml.example | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/config.toml.example b/config.toml.example index ee06e1bd0ba..d8b550d4c74 100644 --- a/config.toml.example +++ b/config.toml.example @@ -259,10 +259,11 @@ changelog-seen = 2 # be built if `extended = true`. #extended = false -# Installs chosen set of extended tools if `extended = true`. By default builds all. -# If chosen tool failed to build the installation fails. If `extended = false`, this -# option is ignored. -#tools = ["cargo", "rls", "clippy", "rustfmt", "analysis", "src"] +# Installs chosen set of extended tools if `extended = true`. By default builds +# all extended tools except `rust-demangler`, unless the target is also being +# built with `profiler = true`. If chosen tool failed to build the installation +# fails. If `extended = false`, this option is ignored. +#tools = ["cargo", "rls", "clippy", "rustfmt", "analysis", "src"] # + "rust-demangler" if `profiler` # Verbosity level: 0 == not verbose, 1 == verbose, 2 == very verbose #verbose = 0 |
