You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// this crate will be compile as wasm32-unknown-unknown#[link(wasm_import_module = "async")]extern"C"{asyncfnmy_async_fn();}#[no_mangle]externasyncfnguest_fn(){my_async_fn().await;}
The text was updated successfully, but these errors were encountered:
Summary
How can I import a host async function like exmaples?
(maybe not 100% correct, some code I wrote in github Issue)
Additional details
/host/src/main.rs
/guest/src/lib.rs
The text was updated successfully, but these errors were encountered: