fix test
This commit is contained in:
@@ -530,7 +530,7 @@ fn parse_dwarf_info() -> Result<()> {
|
||||
let store = Store::new(&engine);
|
||||
let module = Module::new(&engine, &wasm)?;
|
||||
let mut linker = Linker::new(&store);
|
||||
wasmtime_wasi::Wasi::new(&store, wasmtime_wasi::WasiCtxBuilder::new().build()?)
|
||||
wasmtime_wasi::Wasi::new(&store, wasi_cap_std_sync::WasiCtxBuilder::new().build()?)
|
||||
.add_to_linker(&mut linker)?;
|
||||
linker.module("", &module)?;
|
||||
let run = linker.get_default("")?;
|
||||
|
||||
Reference in New Issue
Block a user