wasmtime cli: use wasmtime_wasi's re-exports more deliberately

this drops the direct dep on wasi-cap-std-sync and wasi-common.
This commit is contained in:
Pat Hickey
2021-03-25 16:52:15 -07:00
parent 19a802549f
commit 183ee9d6d8
4 changed files with 3 additions and 9 deletions

View File

@@ -11,9 +11,8 @@ use std::{
process,
};
use structopt::{clap::AppSettings, StructOpt};
use wasi_cap_std_sync::WasiCtxBuilder;
use wasmtime::{Engine, Func, Linker, Module, Store, Trap, Val, ValType};
use wasmtime_wasi::Wasi;
use wasmtime_wasi::{sync::WasiCtxBuilder, Wasi};
#[cfg(feature = "wasi-nn")]
use wasmtime_wasi_nn::{WasiNn, WasiNnCtx};