(ty: StorageType)
| 12 | |
| 13 | impl From<StorageType> for wasmtime_storage_type_t { |
| 14 | fn from(ty: StorageType) -> Self { |
| 15 | match ty { |
| 16 | StorageType::I8 => Self::I8, |
| 17 | StorageType::I16 => Self::I16, |
| 18 | StorageType::ValType(ty) => Self::Val(Box::new(ty)), |
| 19 | } |
| 20 | } |
| 21 | } |
| 22 | |
| 23 | #[unsafe(no_mangle)] |
nothing calls this directly
no test coverage detected