Browse Source

Fix the wrong cmake path in wasi example comments (#7343)

pull/7351/head
Xinzhao Xu 1 year ago
committed by GitHub
parent
commit
d9be6e113c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/wasi/main.c
  2. 2
      examples/wasi/main.rs

2
examples/wasi/main.c

@ -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
examples/wasi/main.rs

@ -2,7 +2,7 @@
/*
You can execute this example with:
cmake example/
cmake examples/
cargo run --example wasi
*/

Loading…
Cancel
Save