commit | 29cdf7a1ac530eb2de98d05bce72e565ca4e287f | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sun Oct 17 09:04:40 2021 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Sun Oct 17 09:04:40 2021 +0000 |
tree | b85ecf8eccae5c7189149b680482c5daf303f659 | |
parent | 83412803c473800fcb30d1e67d6002f109aa31fc [diff] | |
parent | 8758877a8da0ae047bc1805d36f517c32b50a0de [diff] |
Snap for 7831146 from 8758877a8da0ae047bc1805d36f517c32b50a0de to main-cg-testing-release Change-Id: I5370e6bf0fceff785c3d5aedea39423931f8a978
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.