Home
last modified time | relevance | path

Searched refs:wrap_async (Results 1 – 10 of 10) sorted by relevance

/wasmtime-44.0.1/tests/all/
H A Dasync_functions.rs34 let func = Func::wrap_async(&mut store, move |_caller, _: ()| Box::new(async { Ok(()) })); in smoke()
87 let func = Func::wrap_async(&mut store, move |_caller, _: ()| { in smoke_with_suspension()
514 let func = Func::wrap_async(&mut store, |_, _: ()| { in resume_separate_thread()
547 let func = Func::wrap_async(&mut store, |_, _: ()| { in resume_separate_thread2()
589 let func = Func::wrap_async(&mut store, |_, _: ()| { in resume_separate_thread3()
648 let func = Func::wrap_async(&mut store, |_, _: ()| { in resume_separate_thread_tls()
678 let f2 = Func::wrap_async(&mut store, move |mut caller, _: ()| { in recursive_async()
H A Dmissing_async.rs8 Func::wrap_async(&mut store, |_, ()| Box::new(async {})); in async_store()
51 Func::wrap_async(&mut store, |_, ()| Box::new(async {})); in require_async_after_func_wrap()
H A Dcall_hook.rs122 let f = Func::wrap_async( in call_wrapped_async_func()
244 let f = Func::wrap_async( in call_linked_func_async()
H A Ddebug.rs1065 let hostfunc = Func::wrap_async(&mut store, move |mut caller, _args: ()| { in invalidated_frame_handles()
1115 let hostfunc = Func::wrap_async(&mut store, move |mut caller, _args: ()| { in invalidated_frame_handles_in_dropped_future()
/wasmtime-44.0.1/crates/wasmtime/tests/
H A Dhost_segfault.rs160 let f = Func::wrap_async(&mut store, |_, _: ()| { in main()
199 let f = Func::wrap_async(&mut store, |_, _: ()| { in main()
/wasmtime-44.0.1/tests/all/component_model/
H A Dmissing_async.rs9 wasmtime::Func::wrap_async(&mut store, |_, ()| Box::new(async {})); in async_store()
H A Dasync.rs221 let poll_once = wasmtime::Func::wrap_async(&mut store, |mut cx, _: ()| { in poll_through_wasm_activation()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/component/
H A Dlinker.rs759 let dtor = Arc::new(crate::func::HostFunc::wrap_async( in resource_async()
786 let dtor = Arc::new(crate::func::HostFunc::wrap_async( in resource_concurrent()
/wasmtime-44.0.1/crates/wasmtime/src/runtime/
H A Dfunc.rs837 pub fn wrap_async<T, F, P, R>(mut store: impl AsContextMut<Data = T>, func: F) -> Func in wrap_async() method
848 let host = HostFunc::wrap_async(store.engine(), func).panic_on_oom(); in wrap_async()
2578 pub fn wrap_async<T, F, P, R>(engine: &Engine, func: F) -> Result<Self, OutOfMemory> in wrap_async() method
H A Dlinker.rs567 self.func_insert(module, name, HostFunc::wrap_async(&self.engine, func)?) in func_wrap_async()