From 6725af88eeb092f206960488c93ff1240f0dfd98 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 16 Jun 2026 08:20:44 -0700 Subject: [PATCH] Adjust `trap-if-done.wast` slightly Keep the test passing after handling #664 --- test/async/trap-if-done.wast | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/async/trap-if-done.wast b/test/async/trap-if-done.wast index 5d7d9aa0..8f84cd33 100644 --- a/test/async/trap-if-done.wast +++ b/test/async/trap-if-done.wast @@ -271,6 +271,8 @@ (if (i32.ne (i32.const 42) (i32.load (i32.const 16))) (then unreachable)) + (call $waitable.join (local.get $fr) (i32.const 0)) + (if (i32.eqz (local.get $bool)) (then ;; calling future.read again should then trap (drop (call $future.read (local.get $fr) (i32.const 16)))