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

Method gc

crates/wasmtime/src/runtime/func.rs:2144–2146  ·  view source on GitHub ↗
(&mut self, why: Option<&crate::GcHeapOutOfMemory<()>>)

Source from the content-addressed store, hash-verified

2142 /// Same as [`Store::gc`](crate::Store::gc).
2143 #[cfg(feature = "gc")]
2144 pub fn gc(&mut self, why: Option<&crate::GcHeapOutOfMemory<()>>) -> Result<()> {
2145 self.store.gc(why)
2146 }
2147
2148 /// Returns the current capacity of the GC heap in bytes.
2149 ///

Calls

no outgoing calls