build instructions in readme
This commit is contained in:
parent
c893eb9c5f
commit
dfee5d1b8e
10
README.md
10
README.md
|
@ -1,3 +1,13 @@
|
|||
# Semaphore-rs
|
||||
|
||||
Rust support library for Semaphore
|
||||
|
||||
## 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`
|
Loading…
Reference in New Issue