MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / require_async_after_func_wrap

Function require_async_after_func_wrap

tests/all/missing_async.rs:48–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47#[test]
48fn require_async_after_func_wrap() {
49 let engine = Engine::default();
50 let mut store = Store::new(&engine, ());
51 Func::wrap_async(&mut store, |_, ()| Box::new(async {}));
52 assert_requires_async(&mut store);
53}
54
55#[test]
56fn require_async_after_func_new() {

Callers

nothing calls this directly

Calls 2

assert_requires_asyncFunction · 0.70
newFunction · 0.50

Tested by

no test coverage detected