#real-time #robotics #aerospace #sanitizer #audio

sys rtsan-standalone-sys

Unsafe Rust bindings for RTSan standalone library

1 unstable release

new 0.1.0 Jan 20, 2025

#1471 in Development tools


Used in rtsan-standalone

Apache-2.0

9KB
166 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–1MB
~12K SLoC