Stream: git-wasmtime

Topic: wasmtime / PR #15235 Clarify that wasm_valtype_kind canno...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:20):

ColonelToad opened PR #15235 from ColonelToad:docs/valtype-kind-limits to bytecodealliance:main:

wasm_valtype_kind aborts for v128 and for reference types that
wasm_valkind_t cannot express. The documentation in doc-wasm.h mentioned
the abort but never said what to use instead, which is what #15088 ran into.

This documents wasmtime_valtype_t / wasmtime_valtype_new as the supported
path for those types in both doc-wasm.h and wasmtime/types/val.h. It also
fixes the abort messages, which previously said that support for v128
was not implemented. v128 is implemented; it just cannot be represented
by wasm_valkind_t.

I verified this by building the C API and running the reproducer from the
issue; it now prints guidance on which API to use before aborting.

Closes #15088

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:20):

ColonelToad removed the review request for wasmtime-core-reviewers from PR #15235.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:20):

ColonelToad requested dicej for a review on PR #15235.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:20):

ColonelToad requested wasmtime-core-reviewers for a review on PR #15235.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:28):

:thumbs_up: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:28):

alexcrichton has enabled auto merge for PR #15235.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:37):

alexcrichton added PR #15235 Clarify that wasm_valtype_kind cannot represent v128 to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:59):

:check: alexcrichton merged PR #15235.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 11 2026 at 19:59):

alexcrichton removed PR #15235 Clarify that wasm_valtype_kind cannot represent v128 from the merge queue.


Last updated: Nov 19 2026 at 20:05 UTC