Remove macro feature that is confusing

This reverts commit fbe480cc08.
This commit is contained in:
Lachlan Sneff
2019-01-21 14:50:17 -08:00
parent fbe480cc08
commit 3563741f4f
2 changed files with 1 additions and 7 deletions

View File

@ -20,7 +20,4 @@ macro_rules! export_func {
},
}
}};
($func:ident, [ $( $params:ident ),* ]) => {{
export_func($func, [$($params,)*] -> [])
}};
}

View File

@ -76,10 +76,7 @@ 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