commit | 61c64c399f9da49b0c0339b2fcf83ba2e8135fda | [log] [tgz] |
---|---|---|
author | Alex Crichton <alex@alexcrichton.com> | Wed Apr 05 10:06:23 2023 -0500 |
committer | GitHub <noreply@github.com> | Wed Apr 05 10:06:23 2023 -0500 |
tree | 46db48050b7316b503b2475551f03b314b94c279 | |
parent | 69fb82bd9c2da8b8977809e4d5d0c03109519831 [diff] | |
parent | 13be70d35d0bbdbafda8c5dfec7b938963e6501a [diff] |
Merge pull request #63 from Mark-Simulacrum/direct-write Directly write to output instead of local String buffer
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.