commit | 5aed57a0fdd27aa533213ea77cf6e1ec29e4c906 | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Fri Aug 13 15:51:17 2021 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Tue Aug 17 16:12:51 2021 -0700 |
tree | 91e927e8977ca55bf17b7e80bb520ea034f4579d | |
parent | 813ee2753afca333c2f0b0bf357638203a33e910 [diff] |
Initial cargo2android run Bug: 178565008 Test: mm Change-Id: Ic5837774433566f5afb05c5d3de4659e443cceeb
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.