semaphore-rs/README.md

13 lines
275 B
Markdown
Raw Normal View History

2022-02-01 20:17:05 +00:00
# Semaphore-rs
2022-01-28 17:17:18 +00:00
2022-02-01 20:17:05 +00:00
Rust support library for Semaphore
2022-02-09 02:13:06 +00:00
## Build static lib via ffi
Build e.g. for iOS simulator:
`cargo build --release --target=aarch64-apple-ios-sim`
Generate header file:
`cbindgen ./src/lib.rs -c cbindgen.toml | grep -v \#include | uniq > libsemaphore.h`