Stream: git-wasmtime

Topic: wasmtime / PR #14623 fix: `ty()` of null externref and ex...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 15:35):

rvolosatovs opened PR #14623 from rvolosatovs:fix/null-ref-val-ty to bytecodealliance:main:

Val::ExternRef(None).ty() returned (ref null nofunc) instead of (ref null noextern), and Ref::Exn(None).ty() returned (ref null none) instead of (ref null noexn). Neither type is matched by the value it was computed from, so e.g. creating a global with GlobalType::new(v.ty(&store)?, ..) and v as the initial value failed for a null externref.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 15:38):

:thumbs_up: alexcrichton submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 15:40):

rvolosatovs updated PR #14623.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 15:41):

rvolosatovs edited PR #14623:

Val::ExternRef(None).ty() returned (ref null nofunc) instead of (ref null noextern), and Ref::Exn(None).ty() returned (ref null none) instead of (ref null noexn). Neither type is matched by the value it was computed from, so e.g. creating a global with GlobalType::new(v.ty(&store)?, ..) and v as the initial value failed for a null externref.

See https://webassembly.github.io/spec/core/text/types.html#reference-types

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 15:41):

rvolosatovs has marked PR #14623 as ready for review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 15:41):

rvolosatovs requested pchickey for a review on PR #14623.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 15:41):

rvolosatovs requested wasmtime-core-reviewers for a review on PR #14623.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 15:41):

rvolosatovs has enabled auto merge for PR #14623.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 15:51):

rvolosatovs added PR #14623 fix: ty() of null externref and exnref values to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 16:14):

:check: rvolosatovs merged PR #14623.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 09 2026 at 16:14):

rvolosatovs removed PR #14623 fix: ty() of null externref and exnref values from the merge queue.


Last updated: Oct 11 2026 at 04:10 UTC