diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-06-19 13:04:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-19 13:04:58 +0200 |
| commit | 1e460368fd90d622beaac675ef1081b7c6fb043e (patch) | |
| tree | e33fa6b10cb8c4596358c6a8a5602337eb222ca1 /compiler/rustc_mir_transform/src | |
| parent | a7cf6ece62de045b2682b36ff1080c43babbfaec (diff) | |
| parent | fd4fe7d129cac2b7a0668847117775ee23031771 (diff) | |
| download | rust-1e460368fd90d622beaac675ef1081b7c6fb043e.tar.gz rust-1e460368fd90d622beaac675ef1081b7c6fb043e.zip | |
Rollup merge of #125880 - Zalathar:demangler, r=oli-obk
Remove `src/tools/rust-demangler` `rust-demangler` is a small binary that reads a list of mangled symbols from stdin, demangles them (using the `rustc-demangle` library crate), and prints the demangled symbols to stdout. It was added as part of the initial implementation of coverage instrumentation in 2020/2021, so that coverage tests could pass it to `llvm-cov --Xdemangler` when generating coverage reports. It has been largely untouched since then. As of #125816 it is no longer used by coverage tests, and has no remaining in-tree uses. There is code in bootstrap to build and package the demangler, but it's unclear where the resulting binaries actually end up, or whether there's any reasonable way for `rustup` users to obtain them. --- For users needing a command-line demangler, `rustfilt` exists and is more actively maintained. It's also quite easy to use the `rustc-demangle` library to build a custom command-line demangler if necessary, with only a few lines of code. The tool's name (`rust-demangler`) is easily confused with the name of the library crate `rustc-demangle`, so removing the tool will eliminate that confusion. There also doesn't appear to be much reason to use `rust-demangler` over `rustfilt`. --- This PR therefore removes the tool, and removes all of its associated code from bootstrap. MCP filed: https://github.com/rust-lang/compiler-team/issues/754
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
