commit | e71d7d76119bb720d718ec639faf8ca9b5b8bc7b | [log] [tgz] |
---|---|---|
author | Joel Galenson <jgalenson@google.com> | Wed Dec 15 17:27:26 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Wed Dec 15 17:27:26 2021 +0000 |
tree | f6456e13b9c64d74c9ec2b0a3265bcb060bee502 | |
parent | 632c1ad3d2514c359c8313628e071519d6c7bcc4 [diff] | |
parent | cc93ab3bafbb87c5255def9bf41c2f7d43844c8e [diff] |
Merge "Refresh Android.bp, cargo2android.json, TEST_MAPPING." am: 4fe124ab8a am: c4a030f806 am: cc93ab3baf Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/rustc-demangle/+/1912631 Change-Id: I74475d415566c997052d290ac64d7683869b70f7
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.