/libunwind-sys

Low-level bindings for the libunwind library

Primary LanguageRustMIT LicenseMIT

crates.io

libunwind-sys

This Rust crate provides low-level bindings for the libunwind library.

Supported targets:

  • x86_64-unknown-linux-gnu;
  • i686-unknown-linux-gnu;
  • i586-unknown-linux-gnu;
  • arm-unknown-linux-gnueabihf;
  • x86_64-unknown-linux-musl.

Tests are provided only for x86_64-unknown-linux-gnu target.

Installation

First, compile libunwind as a shared library and install it. Add this crate to your Cargo.toml:

[dependencies]
libunwind-sys = "0.5.1"

License

This crate is licensed under the MIT license.