po6A C POSIX library in Rust. Meant for building C libraries in environments
without a C POSIX library (eg. wasm32-unknown-unknown or Windows).
build-dependencies:
console
$ cargo add po6 --build
build.rs by adding the output of po6::build to your include paths:
rust
cc::Build::new()
.includes(po6::build()?)
lib.rs by including the generated runtime file:
rust
mod po6 {
include!(concat!(env!("OUT_DIR"), "/po6.rs"));
}