lukewagner opened issue #13269:
This seems low-priority, but
test/async/cancellable.wastin the CM repomainbranch has a test case that currently fails ondevWasmtime that I believe should pass. It tests whetherthread.yieldwithcancellableset is directly resumed bysubtask.cancel(allowing it to eagerly cancel itself, rather saving a "pending cancellation" that gets delivered some time later). Currently,subtask.cancelreturnsBLOCKED(-1), which suggests that thecancellableis not being considered.
lukewagner added the bug label to Issue #13269.
fitzgen added the wasm-proposal:component-model-async label to Issue #13269.
fitzgen assigned dicej to issue #13269.
fitzgen added the wasm-proposal:component-model label to Issue #13269.
alexcrichton closed issue #13269:
This seems low-priority, but
test/async/cancellable.wastin the CM repomainbranch has a test case that currently fails ondevWasmtime that I believe should pass. It tests whetherthread.yieldwithcancellableset is directly resumed bysubtask.cancel(allowing it to eagerly cancel itself, rather saving a "pending cancellation" that gets delivered some time later). Currently,subtask.cancelreturnsBLOCKED(-1), which suggests that thecancellableis not being considered.
Last updated: Jun 01 2026 at 09:49 UTC