mirror of
https://github.com/tlsnotary/tlsn.git
synced 2026-01-09 14:48:13 -05:00
Add readme.
This commit is contained in:
9
crates/wasmtime-host/README.md
Normal file
9
crates/wasmtime-host/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
# Info
|
||||
This crate builds a wasmtime binary to be run in iOS. The binary loads and run a wasm component model plugin. UniFFI is used to generate Swift bindings and allow the binary's future to be driven by iOS' async executor.
|
||||
|
||||
# Step
|
||||
1. Build this crate by running [build.sh](build.sh). The build script assumes the following to be available.
|
||||
- `aarch64-apple-ios-sim`, `aarch64-apple-ios` rust targets
|
||||
- `xcodebuild` CLI tool
|
||||
2. Drag and drop the `wasmtime_host.xcframework/`, `uniffi/` built into Xcode.
|
||||
8
crates/wasmtime-plugin/README.md
Normal file
8
crates/wasmtime-plugin/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# Info
|
||||
This crate builds a wasm component model plugin. It has an async main function that calls some host functions.
|
||||
|
||||
# Step
|
||||
1. Build this crate by running [build.sh](build.sh). The build script assumes the following to be available.
|
||||
- `wasm32-unknown-unknown` rust target
|
||||
- [`wasm-tools`](https://github.com/bytecodealliance/wasm-tools)
|
||||
2. Drag and drop the `wasmtime_plugin_component.wasm` built into Xcode.
|
||||
Reference in New Issue
Block a user