File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,6 @@ The WASM API consists of these main components:
29
29
### Prerequisites
30
30
31
31
- [ Rust] ( https://www.rust-lang.org/tools/install ) (latest stable version)
32
- - [ wasm-pack] ( https://rustwasm.github.io/wasm-pack/installer/ ) for building WebAssembly modules
33
-
34
32
35
33
### Basic Usage
36
34
@@ -48,14 +46,14 @@ fn main(context: &mut Context) -> Result<()> {
48
46
}
49
47
```
50
48
51
- To build a function example, create a new example and build it targeting ` wasm32-wasi ` with ` shopify_function_wasm_api ` as the provider :
49
+ To build a function example, create a new example and build it targeting ` wasm32-wasip1 ` :
52
50
53
51
``` shell
54
52
cargo build --release --target wasm32-wasip1 -p shopify_function_wasm_api --example echo
55
53
```
56
54
57
55
58
- The trampoline tool bridges communication between your WASM module and Shopify's runtime . To trampoline your function wasm :
56
+ The trampoline tool bridges communication between your Wasm module and the provider module . To trampoline your Wasm module :
59
57
60
58
``` shell
61
59
# Short flags
You can’t perform that action at this time.
0 commit comments