port command and example to use sync wasmtime_wasi
This commit is contained in:
@@ -11,10 +11,7 @@ use std::{
|
||||
};
|
||||
use structopt::{clap::AppSettings, StructOpt};
|
||||
use wasmtime::{Engine, Func, Linker, Module, Store, Trap, Val, ValType};
|
||||
use wasmtime_wasi::{
|
||||
sync::{Dir, WasiCtxBuilder},
|
||||
Wasi,
|
||||
};
|
||||
use wasmtime_wasi::sync::{Dir, Wasi, WasiCtxBuilder};
|
||||
|
||||
#[cfg(feature = "wasi-nn")]
|
||||
use wasmtime_wasi_nn::{WasiNn, WasiNnCtx};
|
||||
|
||||
Reference in New Issue
Block a user