mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
Stub out support for V128 in the C API for now.
This commit is contained in:
parent
bb30434392
commit
f4af4e387d
@ -402,6 +402,7 @@ pub unsafe extern "C" fn wasmer_export_func_call(
|
||||
tag: wasmer_value_tag::WASM_F64,
|
||||
value: wasmer_value { F64: x },
|
||||
},
|
||||
_ => panic!("not implemented"),
|
||||
};
|
||||
results[0] = ret;
|
||||
}
|
||||
|
@ -173,6 +173,7 @@ pub unsafe extern "C" fn wasmer_instance_call(
|
||||
tag: wasmer_value_tag::WASM_F64,
|
||||
value: wasmer_value { F64: x },
|
||||
},
|
||||
_ => panic!("not implemented"),
|
||||
};
|
||||
results[0] = ret;
|
||||
}
|
||||
|
@ -76,6 +76,7 @@ impl From<Value> for wasmer_value_t {
|
||||
tag: wasmer_value_tag::WASM_F64,
|
||||
value: wasmer_value { F64: x },
|
||||
},
|
||||
_ => panic!("not implemented"),
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -113,6 +114,7 @@ impl From<&wasmer_runtime::wasm::Type> for wasmer_value_tag {
|
||||
Type::I64 => wasmer_value_tag::WASM_I64,
|
||||
Type::F32 => wasmer_value_tag::WASM_F32,
|
||||
Type::F64 => wasmer_value_tag::WASM_F64,
|
||||
_ => panic!("not implemented"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user