Skip to content

Commit

Permalink
added the wasmtime serve args for wasi support on the `cargo componen…
Browse files Browse the repository at this point in the history
…t serve` command (#308)
  • Loading branch information
calvinrp authored Jun 1, 2024
1 parent 10b14fb commit d859e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ fn get_runner(serve: bool) -> Result<PathAndArgs> {
(
PathAndArgs::new("wasmtime")
.args(if serve {
vec!["serve"]
vec!["serve", "-S", "common", "-S", "http"]
} else {
vec!["-S", "preview2", "-S", "common"]
})
Expand Down

0 comments on commit d859e93

Please sign in to comment.