Xinzhao Xu
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
examples/wasi/main.c
-
examples/wasi/main.rs
|
|
@ -3,7 +3,7 @@ Example of instantiating a WebAssembly which uses WASI imports. |
|
|
|
|
|
|
|
You can compile and run this example on Linux with: |
|
|
|
|
|
|
|
cmake example/ |
|
|
|
cmake examples/ |
|
|
|
cargo build --release -p wasmtime-c-api |
|
|
|
cc examples/wasi/main.c \ |
|
|
|
-I crates/c-api/include \ |
|
|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
/* |
|
|
|
You can execute this example with: |
|
|
|
cmake example/ |
|
|
|
cmake examples/ |
|
|
|
cargo run --example wasi |
|
|
|
*/ |
|
|
|
|
|
|
|