()
| 54 | |
| 55 | #[test] |
| 56 | fn require_async_after_func_new() { |
| 57 | let engine = Engine::default(); |
| 58 | let mut store = Store::new(&engine, ()); |
| 59 | let ty = FuncType::new(store.engine(), [], []); |
| 60 | Func::new_async(&mut store, ty, |_, _, _| Box::new(async { Ok(()) })); |
| 61 | assert_requires_async(&mut store); |
| 62 | } |
| 63 | |
| 64 | #[tokio::test] |
| 65 | async fn require_async_after_linker_with_func_wrap() -> Result<()> { |
nothing calls this directly
no test coverage detected