commit | 89bca726ab692875033ee22a2bcf72839fc088d0 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <[email protected]> | Sat May 11 21:14:59 2024 +0000 |
committer | Android Build Coastguard Worker <[email protected]> | Sat May 11 21:14:59 2024 +0000 |
tree | c28bb4e56115dece16e17008fae82dc99d50e28f | |
parent | 6bc2cf32407e506e5643beb3122dd2ad4cfa8a6f [diff] | |
parent | 070419b6469280e710ba2bc0ec561400219c65a3 [diff] |
Snap for 11830997 from 070419b6469280e710ba2bc0ec561400219c65a3 to 24Q3-release Change-Id: I7d389ebdacf89027a2a3c292932d1a8d9bb36bf4
Demangling for Rust symbols, written in Rust.
You can add this as a dependency via your Cargo.toml
[dependencies] rustc-demangle = "0.1"
and then be sure to check out the crate documentation for usage.
You can also use this crate from other languages via the C API wrapper in the crates/capi
directory. This can be build with:
$ cargo build -p rustc-demangle-capi --release
You'll then find target/release/librustc_demangle.a
and target/release/librustc_demangle.so
(or a different name depending on your platform). These objects implement the interface specified in crates/capi/include/rustc_demangle.h
.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in rustc-demangle you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.