From adf3a5e3c428ee486b3d4b4daa8b50a6148fb0d5 Mon Sep 17 00:00:00 2001 From: MengshengWu Date: Fri, 29 Dec 2023 18:16:50 +0800 Subject: [PATCH] Fix wrapExportFn cannot cast bigint --- asyncify.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncify.mjs b/asyncify.mjs index e1fa0d6..b2e0864 100644 --- a/asyncify.mjs +++ b/asyncify.mjs @@ -115,7 +115,7 @@ class Asyncify { this.value = await this.value; this.assertNoneState(); this.exports.asyncify_start_rewind(DATA_ADDR); - result = fn(); + result = fn(...args); } this.assertNoneState();