Skip to content

Commit

Permalink
Move from unstable to preview1
Browse files Browse the repository at this point in the history
  • Loading branch information
axic committed May 25, 2020
1 parent 8ccfdef commit 845822e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified tools/wasi/smoketest/helloworld.wasm
Binary file not shown.
4 changes: 2 additions & 2 deletions tools/wasi/wasi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ bool run(const fs::path& cmd, int argc, char** argv)
auto imports = fizzy::resolve_imported_functions(module,
{
// TODO: support both wasi_snapshot_preview1 and wasi_unstable
{"wasi_unstable", "proc_exit", {fizzy::ValType::i32}, std::nullopt, wasi_proc_exit},
{"wasi_unstable", "fd_write",
{"wasi_snapshot_preview1", "proc_exit", {fizzy::ValType::i32}, std::nullopt, wasi_proc_exit},
{"wasi_snapshot_preview1", "fd_write",
{fizzy::ValType::i32, fizzy::ValType::i32, fizzy::ValType::i32,
fizzy::ValType::i32},
fizzy::ValType::i32, wasi_fd_write},
Expand Down

0 comments on commit 845822e

Please sign in to comment.