Skip to content

Accessor tests - #1733

Draft
bvisness wants to merge 5 commits into
bytecodealliance:mainfrom
bvisness:getters-setters-tests
Draft

bvisness wants to merge 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.

This branch has not been deployed

No deployments
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.

1 participant