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