How hard would it be to implement https://github.com/bytecodealliance/wasmtime/issues/1829 ? Does anyone know the approximate scope of work and maybe the time estimate?
It's possible it's as easy as copying the impl WasmTy for i64
in crates/wasmtime/src/func.rs and adding a u64
variant
One subtlety is that wasm itself doesn't have signed/unsigned distinction, so there'd be no typechecking ensuring that you're actually passing a u64 to a u64 parameter, and not an i64, but that might be ok for now
and interface types should help with this in the future
Thank you!
Last updated: Dec 23 2024 at 13:07 UTC