2 releases
new 0.1.1 | Apr 27, 2025 |
---|---|
0.1.0 | Jan 20, 2025 |
#1214 in Development tools
299 downloads per month
Used in 2 crates
(via rtsan-standalone)
19KB
198 lines
rtsan-sys
Unsafe Rust bindings for the RTSan standalone library.
Supported Targets
Currently this crate only works on Linux and macOS.
Generating Bindings
The Rust bindings are generated from the original C++ header file for the RTSan
standalone library. The header file is available at the following link:
RTSan Standalone Header
To generate the bindings, use the following command:
bindgen rtsan_standalone.h -o rtsan_standalone.rs
Installing Bindgen
You can install bindgen
via cargo
using the following command:
cargo install bindgen-cli
No runtime deps
~0–2MB
~29K SLoC