Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maminrayej committed Sep 16, 2024
1 parent 3437597 commit 9e60dcb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/c-api/src/wasm_c_api/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ impl TryFrom<&wasm_val_t> for Value {
wasm_valkind_enum::WASM_I64 => Value::I64(unsafe { item.of.int64_t }),
wasm_valkind_enum::WASM_F32 => Value::F32(unsafe { item.of.float32_t }),
wasm_valkind_enum::WASM_F64 => Value::F64(unsafe { item.of.float64_t }),
wasm_valkind_enum::WASM_EXTERNREF => return Err("EXTERNREF not supported at this time"),
wasm_valkind_enum::WASM_EXTERNREF => {
return Err("EXTERNREF not supported at this time")
}
wasm_valkind_enum::WASM_FUNCREF => return Err("FUNCREF not supported at this time"),
})
}
Expand Down

0 comments on commit 9e60dcb

Please sign in to comment.