[wip] swift

This commit is contained in:
Steve Myers 2021-10-02 12:08:34 -07:00
parent 39e5efe5c0
commit f9e3bdfdb2

View File

@ -1,4 +1,4 @@
Setup build environment
Setup Android build environment
1. Add Android rust targets
@ -12,6 +12,10 @@ rustup target add x86_64-apple-darwin x86_64-unknown-linux-gnu x86_64-linux-andr
export ANDROID_NDK_HOME=/home/<user>/Android/Sdk/ndk/<NDK version, ie. 21.4.7075529>
```
Setup Swift build environment
1. Install Swift, see ["Download Swift"](https://swift.org/download/) page
Adding new structs and functions
1. Create C safe Rust structs and related functions using safer-ffi