Browse Source

c-api: always use synchronous wasi-common

pull/2832/head
Pat Hickey 4 years ago
parent
commit
66251c2e78
  1. 7
      crates/c-api/src/wasi.rs

7
crates/c-api/src/wasi.rs

@ -12,9 +12,10 @@ use std::slice;
use std::str;
use wasmtime::{Extern, Linker, Trap};
use wasmtime_wasi::{
snapshots::preview_0::Wasi as WasiSnapshot0,
snapshots::preview_1::Wasi as WasiPreview1,
sync::{Dir, WasiCtxBuilder},
sync::{
snapshots::preview_0::Wasi as WasiSnapshot0, snapshots::preview_1::Wasi as WasiPreview1,
Dir, WasiCtxBuilder,
},
WasiCtx,
};

Loading…
Cancel
Save