Skip to content

Commit

Permalink
Fixed wasi command
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Apr 5, 2023
1 parent ef27bcd commit 9a29c38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/cli/src/commands/run_unstable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,9 @@ impl RunUnstable {
return runner.run_cmd(&container, id).context("WCGI runner failed");
}
}
webc::metadata::annotations::WASI_RUNNER_URI => {
// TODO: Add this on the webc annotation itself
"https://webc.org/runner/wasi/command"
| webc::metadata::annotations::WASI_RUNNER_URI => {
let mut runner = wasmer_wasix::runners::wasi::WasiRunner::new(store)
.with_compile(move |engine, bytes| {
compile_wasm_cached("".to_string(), bytes, &mut cache, engine)
Expand Down

0 comments on commit 9a29c38

Please sign in to comment.