From 2f0c7e59e7257cae7843c2aaed13f8d5900c08e5 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Wed, 14 Apr 2021 16:04:41 -0700 Subject: [PATCH] wasmtime-wasi: all funcs are async now --- crates/wasi/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/wasi/src/lib.rs b/crates/wasi/src/lib.rs index 2eefcfccd2..f0ac46811c 100644 --- a/crates/wasi/src/lib.rs +++ b/crates/wasi/src/lib.rs @@ -99,7 +99,7 @@ necessary. Additionally [`Wasi::get_export`] can be used to do name-based resolution.", }, }, - $async_mode: { wasi_snapshot_preview1::{ poll_oneoff, sched_yield } } + $async_mode: * }); } pub mod preview_0 { @@ -127,7 +127,7 @@ necessary. Additionally [`Wasi::get_export`] can be used to do name-based resolution.", }, }, - $async_mode: { wasi_unstable::{ poll_oneoff, sched_yield } } + $async_mode: * }); } }