mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 05:08:19 +00:00
Add benchmark
This commit is contained in:
@@ -121,8 +121,6 @@ macro_rules! impl_native_traits {
|
||||
{
|
||||
/// Call the typed func and return results.
|
||||
pub fn call(&self, $( $x: $x, )* ) -> Result<Rets, ()> {
|
||||
let mut rets = Rets::empty_array();
|
||||
|
||||
let params = [ $( $x.to_native().to_binary() ),* ];
|
||||
let mut values_vec: Vec<i128> = vec![0; std::cmp::max(params.len(), Rets::wasm_types().len())];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user