about summary refs log tree commit diff
path: root/src/tools/rust-demangler/tests/lib.rs
AgeCommit message (Collapse)AuthorLines
2024-06-19Remove `src/tools/rust-demangler`Zalathar-84/+0
2022-01-08mangling_v0: Update tests for the rust-demangler toolVadim Petrochenkov-16/+16
2021-04-03Address review comments and Windows failure, and make cleanerRich Kadel-62/+51
2021-04-03Changed function signature to keep buffer handling out of libRich Kadel-5/+3
2021-04-03Make rust-demangler installableRich Kadel-0/+97
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`.