Commit 415020e
authored
Adjust some documentation for threading intrinsics (#674)
* Synchronize `Binary.md` threading intrinsics
In #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.
* Flag `thread.yield` under the async feature gate
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.1 parent abfcd1c commit 415020e
2 files changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
306 | 305 | | |
307 | 306 | | |
308 | 307 | | |
| |||
329 | 328 | | |
330 | 329 | | |
331 | 330 | | |
332 | | - | |
| 331 | + | |
333 | 332 | | |
334 | | - | |
335 | | - | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
336 | 338 | | |
337 | 339 | | |
338 | 340 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
4948 | 4948 | | |
4949 | 4949 | | |
4950 | 4950 | | |
4951 | | - | |
| 4951 | + | |
4952 | 4952 | | |
4953 | 4953 | | |
4954 | 4954 | | |
| |||
0 commit comments