Remove unneded prefix argument from instantiate_wasi. (#584)

* Remove unneded prefix argument from `instantiate_wasi`.

This was an artifact of an earlier backwards-compatibility mechanism
which is no longer needed.

* Remove unneeded prefix arg from remaning uses
This commit is contained in:
Dan Gohman
2019-11-16 11:40:14 -08:00
committed by GitHub
parent 0753b1206b
commit 7d47a04277
3 changed files with 6 additions and 10 deletions

View File

@@ -53,7 +53,6 @@ pub fn instantiate(data: &[u8], bin_name: &str, workspace: Option<&Path>) -> any
Instance::from_handle(
&store,
wasmtime_wasi::instantiate_wasi_with_context(
"",
global_exports.clone(),
builder.build().context("failed to build wasi context")?,
)