Skip to content

Commit 35d1531

Browse files
committed
nonfunctional change: switch from wasmtime serve --wasi common to wasmtime serve -Scli
1 parent 31c9e66 commit 35d1531

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/http/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ First, build the app and run it:
2727

2828
```
2929
componentize-py -d ../../wit -w wasi:http/proxy@0.2.0 componentize app -o http.wasm
30-
wasmtime serve --wasi common http.wasm
30+
wasmtime serve -Scli http.wasm
3131
```
3232

3333
Then, in another terminal, use cURL to send a request to the app:

tests/componentize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ fn http_example() -> anyhow::Result<()> {
7676

7777
let mut handle = std::process::Command::new("wasmtime")
7878
.current_dir(&path)
79-
.args(["serve", "--wasi", "common", "http.wasm"])
79+
.args(["serve", "-Scli", "http.wasm"])
8080
.spawn()?;
8181

8282
let content = "’Twas brillig, and the slithy toves

0 commit comments

Comments
 (0)