MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / to_wasmtime

Method to_wasmtime

crates/fuzzing/src/generators/api.rs:34–41  ·  view source on GitHub ↗

Convert to the corresponding `wasmtime::ValType`.

(self)

Source from the content-addressed store, hash-verified

32impl FuzzValType {
33 /// Convert to the corresponding `wasmtime::ValType`.
34 pub fn to_wasmtime(self) -> ValType {
35 match self {
36 Self::I32 => ValType::I32,
37 Self::I64 => ValType::I64,
38 Self::F32 => ValType::F32,
39 Self::F64 => ValType::F64,
40 }
41 }
42}
43
44#[derive(Arbitrary, Debug)]

Callers 6

instantiate_manyFunction · 0.45
wast_testFunction · 0.45
storeFunction · 0.45
gc_accessFunction · 0.45
make_api_callsFunction · 0.45
check_memory_accessesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected