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:
@@ -289,7 +289,7 @@ fn main() -> Result<()> {
|
||||
#[cfg(feature = "wasi-c")]
|
||||
{
|
||||
let global_exports = store.borrow().global_exports().clone();
|
||||
let handle = instantiate_wasi_c("", global_exports, &preopen_dirs, &argv, &environ)?;
|
||||
let handle = instantiate_wasi_c(global_exports, &preopen_dirs, &argv, &environ)?;
|
||||
Instance::from_handle(&store, handle)
|
||||
}
|
||||
#[cfg(not(feature = "wasi-c"))]
|
||||
|
||||
Reference in New Issue
Block a user