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

Function async_disallows_gc

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

Source from the content-addressed store, hash-verified

205
206#[tokio::test]
207async fn async_disallows_gc() -> Result<()> {
208 let mut store = async_limiter_store();
209 assert!(store.gc(None).is_err());
210 store.gc_async(None).await?;
211 Ok(())
212}
213
214#[tokio::test]
215async fn async_disallows_array_ref_new() -> Result<()> {

Callers

nothing calls this directly

Calls 3

async_limiter_storeFunction · 0.85
OkFunction · 0.85
gc_asyncMethod · 0.45

Tested by

no test coverage detected