fix test runtime

This commit is contained in:
Pat Hickey
2021-01-29 18:01:48 -08:00
parent f40b9d8a5e
commit 6ed8638559

View File

@@ -42,7 +42,7 @@ pub fn instantiate(data: &[u8], bin_name: &str, workspace: Option<&Path>) -> any
builder = builder.env("ERRNO_MODE_UNIX", "1")?;
}
let snapshot1 = wasi_wasmtime::Wasi::new(&store, builder.build()?);
let snapshot1 = wasmtime_wasi::Wasi::new(&store, builder.build()?);
let mut linker = Linker::new(&store);