mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-18 03:11:21 +00:00
Fix macro
This commit is contained in:
@ -20,4 +20,7 @@ macro_rules! export_func {
|
||||
},
|
||||
}
|
||||
}};
|
||||
($func:ident, [ $( $params:ident ),* ]) => {{
|
||||
export_func($func, [$($params,)*] -> [])
|
||||
}};
|
||||
}
|
||||
|
@ -76,7 +76,10 @@ fn execute_wasm(options: &Run) -> Result<(), String> {
|
||||
wasmer_emscripten::generate_emscripten_env(&emscripten_globals),
|
||||
)
|
||||
} else {
|
||||
(InstanceABI::None, wasmer_runtime::import::ImportObject::new())
|
||||
(
|
||||
InstanceABI::None,
|
||||
wasmer_runtime::import::ImportObject::new(),
|
||||
)
|
||||
};
|
||||
|
||||
let mut instance = module
|
||||
|
Reference in New Issue
Block a user