diff --git a/lib/runtime-c-api/src/export.rs b/lib/runtime-c-api/src/export.rs index cdb953e24..d93f987a4 100644 --- a/lib/runtime-c-api/src/export.rs +++ b/lib/runtime-c-api/src/export.rs @@ -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; } diff --git a/lib/runtime-c-api/src/instance.rs b/lib/runtime-c-api/src/instance.rs index 79a617be2..4fc76f766 100644 --- a/lib/runtime-c-api/src/instance.rs +++ b/lib/runtime-c-api/src/instance.rs @@ -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; } diff --git a/lib/runtime-c-api/src/value.rs b/lib/runtime-c-api/src/value.rs index d6b7b506a..62f62c3ac 100644 --- a/lib/runtime-c-api/src/value.rs +++ b/lib/runtime-c-api/src/value.rs @@ -76,6 +76,7 @@ impl From 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"), } } }