Adjust some documentation for threading intrinsics#674
Merged
lukewagner merged 2 commits intoJul 1, 2026
Conversation
In WebAssembly#656 the threading-related intrinsics were revised and updated, but `Binary.md` wasn't updated in the same PR. This commit removes the removed intrinsics (`thread.switch-to` and `thread.yield-to`), reorganizes the list slightly (moves `thread.yield` down), and then renumbers the remaining intrinsics.
This matches what wasm-tools/Wasmtime do at least which is `thread.yield` is supported with just the component-model-async feature and doesn't need component-model-threading. IIRC this is due to the fact of this intrinsic existing prior to component-model-threading and it was just renamed later on.
alexcrichton
added a commit
to alexcrichton/wasm-tools
that referenced
this pull request
Jul 1, 2026
This commit synchronizes `cm-threading` intrinsics parsed by wasmparser/tooling/etc to match the current specification. These intentionally diverged from the specification in bytecodealliance#2430 and when the specification was updated in WebAssembly/component-model#656 it ended up settling on some minor adjustments. This additionally takes into account WebAssembly/component-model#674 for binary parsing adjustments.
Member
|
Great catches, thanks! |
github-merge-queue Bot
pushed a commit
to bytecodealliance/wasm-tools
that referenced
this pull request
Jul 1, 2026
This commit synchronizes `cm-threading` intrinsics parsed by wasmparser/tooling/etc to match the current specification. These intentionally diverged from the specification in #2430 and when the specification was updated in WebAssembly/component-model#656 it ended up settling on some minor adjustments. This additionally takes into account WebAssembly/component-model#674 for binary parsing adjustments.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
thread.yieldto be 🔀 instead of 🧵