subotac opened PR #14021 from subotac:fix/component-fixed-length-list-offset to bytecodealliance:main:
Fixes #13987.
Dynamic
Val::FixedLengthListlowering stored each element relative to the beginning of the canonical ABI allocation instead of the list's caller-provided base offset. When nested inside another
value, this could overwrite adjacent fields.This change includes the base offset when storing each element and adds a regression test for a fixed-length list nested inside a tuple.
Tests:
-
cargo test --test all component_model::fixed_length_list
-cargo test -p wasmtime --lib
-cargo clippy -p wasmtime -p wasmtime-cli --all-targets
subotac requested pchickey for a review on PR #14021.
subotac requested wasmtime-core-reviewers for a review on PR #14021.
:thumbs_up: alexcrichton submitted PR review:
Thanks!
alexcrichton has enabled auto merge for PR #14021.
alexcrichton added PR #14021 fix: respect fixed-length list base offsets to the merge queue.
github-merge-queue[bot] removed PR #14021 fix: respect fixed-length list base offsets from the merge queue.
alexcrichton added PR #14021 fix: respect fixed-length list base offsets to the merge queue.
:check: alexcrichton merged PR #14021.
alexcrichton removed PR #14021 fix: respect fixed-length list base offsets from the merge queue.
Last updated: Aug 30 2026 at 09:07 UTC