Convert to the corresponding `wasmtime::ValType`.
(self)
| 32 | impl 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)] |
no outgoing calls
no test coverage detected