alexcrichton commented on issue #2897:
@peterhuene if you're up for it, mind reviewing the bits here ranging from the runtime internals, the
wasmtimecrate itself, and the C API? If that's too much though let me know! (I see you already assigned yourself as a reviewer but wanted to write something down too)@pchickey would you be up for reviewing the wasi-common/wiggle/macro/etc bits?
pchickey commented on issue #2897:
Yes, I will review everything in that category, and I am also going to port a private repo to use this branch as well.
alexcrichton commented on issue #2897:
Ok all documentation should now be included, so I think that this is in theory good to land, pending review/RFC of course.
TerrorJack commented on issue #2897:
I reran the haskell bindgen and found the following symbols don't exist:
wasm_frame_copy wasm_ref_as_trap wasm_ref_as_trap_const wasm_foreign_delete wasm_foreign_copy wasm_foreign_same wasm_foreign_get_host_info wasm_foreign_set_host_info wasm_foreign_set_host_info_with_finalizer wasm_foreign_as_ref wasm_ref_as_foreign wasm_foreign_as_ref_const wasm_ref_as_foreign_const wasm_foreign_new wasm_ref_as_module wasm_ref_as_module_const wasm_ref_as_func wasm_ref_as_func_const wasm_ref_as_global wasm_ref_as_global_const wasm_ref_as_table wasm_ref_as_table_const wasm_ref_as_memory wasm_ref_as_memory_const wasm_ref_as_extern wasm_ref_as_extern_const wasm_ref_as_instance wasm_ref_as_instance_constSome of those were documented as "Unimplemented in Wasmtime, aborts the process if called.", which is incorrect. I recommend a consistent handling of unimplemented C API functions: either don't implement at all and be clear about that in the documentation, or always add a stub which panics.
alexcrichton commented on issue #2897:
@TerrorJack oh thanks for the reminder! I've gone through and implemented aborting stubs for those symbols.
TerrorJack commented on issue #2897:
We have distinct
wasmtime_valkind_tandwasm_valkind_t, but there is no separatewasmtime_func_tas opposed to existingwasm_func_t. So it seems I can't callwasmtime_func_newto create a function which operates on the SIMD types.
alexcrichton commented on issue #2897:
@TerrorJack ah good point! I haven't done a ton of testing of the simd proposal in other bindings yet. I added in https://github.com/bytecodealliance/wasmtime/pull/2897/commits/7f4b340d69db55fbbb3bf91aca6669e14087a0d7 to recognize
WASMTIME_V128as awasm_valkind_t
alexcrichton commented on issue #2897:
The RFC has been merged and this has been reviewed (thanks all!) so I'm going to merge.
Last updated: Jan 10 2026 at 02:36 UTC