Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement support for thread in *.wast tests #7289

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

alexcrichton
Copy link
Member

This commit implements support for thread and wait in *.wast files and imports the upstream spec test suite from the threads proposal. This additionally and hopefully makes it a bit easier to write threaded tests in the future if necessary too.

This commit implements support for `thread` and `wait` in `*.wast` files
and imports the upstream spec test suite from the `threads` proposal.
This additionally and hopefully makes it a bit easier to write threaded
tests in the future if necessary too.
@alexcrichton alexcrichton requested a review from a team as a code owner October 18, 2023 21:08
@alexcrichton alexcrichton requested review from pchickey and removed request for a team October 18, 2023 21:08
@alexcrichton
Copy link
Member Author

I'll note that the imported tests are not literally as-is upstream and are technically pending WebAssembly/threads#217, so we can see how that turns out too.

@alexcrichton
Copy link
Member Author

Also cc @abrown as you might be interested in this

Copy link
Contributor

@abrown abrown left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me! So I guess we will get rid of all of these imported *.wast files once the upstream testsuite contains them?

@alexcrichton alexcrichton added this pull request to the merge queue Oct 18, 2023
Merged via the queue into bytecodealliance:main with commit 405e529 Oct 19, 2023
18 checks passed
@alexcrichton alexcrichton deleted the test-threads-in-wast branch October 19, 2023 00:36
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