jrandolf opened PR #14840 from jrandolf:c-api-map-value-tests to bytecodealliance:main:
The C API supports map values, but only the map type was tested. This adds value round-trip tests for
map<string, u32>andmap<u32, list<string>>, including duplicate keys, and documents inval.hthat map entries keep their order and may contain duplicate keys.
jrandolf has marked PR #14840 as ready for review.
jrandolf removed the review request for wasmtime-core-reviewers from PR #14840.
jrandolf requested dicej for a review on PR #14840.
jrandolf requested wasmtime-core-reviewers for a review on PR #14840.
github-actions[bot] added the label wasmtime:c-api on PR #14840.
:thumbs_up: alexcrichton submitted PR review.
:speech_balloon: alexcrichton created PR review comment:
Could these tests be folded together? I think it's fine to just have the more complicated one or just haev one.
alexcrichton removed the review request for dicej from PR #14840.
:memo: jrandolf submitted PR review.
:speech_balloon: jrandolf created PR review comment:
Done
jrandolf edited PR #14840:
The C API supports map values, but only the map type was tested. This adds a value round-trip test for
map<u32, list<string>>, including duplicate keys, and documents inval.hthat map entries keep their order and may contain duplicate keys.
jrandolf updated PR #14840.
:thumbs_up: alexcrichton submitted PR review.
alexcrichton added PR #14840 Add C API tests for component map values to the merge queue.
:check: alexcrichton merged PR #14840.
alexcrichton removed PR #14840 Add C API tests for component map values from the merge queue.
Last updated: Oct 31 2026 at 23:03 UTC