mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-13 00:51:20 +00:00
Fix compilation
This commit is contained in:
@ -18,7 +18,7 @@ macro_rules! assert_emscripten_output {
|
||||
let mut emscripten_globals = EmscriptenGlobals::new(&module);
|
||||
let import_object = generate_emscripten_env(&mut emscripten_globals);
|
||||
|
||||
let mut instance = module.instantiate(import_object)
|
||||
let mut instance = module.instantiate(&import_object)
|
||||
.map_err(|err| format!("Can't instantiate the WebAssembly module: {:?}", err)).unwrap(); // NOTE: Need to figure what the unwrap is for ??
|
||||
|
||||
let capturer = StdioCapturer::new();
|
||||
|
Reference in New Issue
Block a user