Skip to content

Accessor tests - #1733

Merged
alexcrichton merged 5 commits into
bytecodealliance:mainfrom
bvisness:getters-setters-tests
Oct 14, 2026
Merged

alexcrichton merged 5 commits into
bytecodealliance:mainfrom
bvisness:getters-setters-tests

Conversation

@bvisness

@bvisness bvisness commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Because wasmtime has some kind of bug, these tests originally from #1726 are in a separate PR. Tests are provided for C, C++, and Rust since those are the three languages supported by #1726. All three use the same WIT and perform the same sequence of get/set operations.

Also contains a drive-by rename of convert_p1_to_component since it handles more than just wasip1.

Currently this PR changes CI to run the dev version of wasmtime, since that's what we had originally discussed, but I can change it back to a pinned version once a version without the bug is published.

I spent some time confused by the fact that obviously non-wasip1 modules
were being fed through a function explicitly named for wasip1.
@alexcrichton
alexcrichton marked this pull request as ready for review October 14, 2026 17:50
@alexcrichton
alexcrichton added this pull request to the merge queue Oct 14, 2026
Merged via the queue into bytecodealliance:main with commit 7123aef Oct 14, 2026
42 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants