From c4405527b17c836f49312b6dbf4a9969530af45c Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 18 May 2026 09:18:06 -0700 Subject: [PATCH] Update `drop-cross-task-borrow.wast` for `async` keyword changes --- test/async/drop-cross-task-borrow.wast | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/async/drop-cross-task-borrow.wast b/test/async/drop-cross-task-borrow.wast index 83d93380..139981cd 100644 --- a/test/async/drop-cross-task-borrow.wast +++ b/test/async/drop-cross-task-borrow.wast @@ -125,10 +125,10 @@ (func (export "resume-dont-drop") (canon lift (core func $dm "resume-dont-drop")) ) - (func (export "drop-other-and-self") (param "self" (borrow $R)) (result u32) + (func (export "drop-other-and-self") async (param "self" (borrow $R)) (result u32) (canon lift (core func $dm "drop-other-and-self") async (callback (func $dm "unreachable-cb"))) ) - (func (export "drop-wrong-one") (param "self" (borrow $R)) + (func (export "drop-wrong-one") async (param "self" (borrow $R)) (canon lift (core func $dm "drop-wrong-one") async (callback (func $dm "unreachable-cb"))) ) ) @@ -143,8 +143,8 @@ (export "dont-drop" (func async (param "self" (borrow $R)) (result u32))) (export "drop-handle" (func (result u32))) (export "resume-dont-drop" (func)) - (export "drop-other-and-self" (func (param "self" (borrow $R)) (result u32))) - (export "drop-wrong-one" (func (param "self" (borrow $R)))) + (export "drop-other-and-self" (func async (param "self" (borrow $R)) (result u32))) + (export "drop-wrong-one" (func async (param "self" (borrow $R)))) )) (core module $Memory (memory (export "mem") 1)) (core instance $memory (instantiate $Memory))