Skip to content

Commit 9ceab3c

Browse files
committed
fix +runtime -gc build
1 parent e5234e6 commit 9ceab3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/wasmtime/src/runtime/store.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,6 +1569,7 @@ impl StoreOpaque {
15691569

15701570
/// Like `gc` but must be called from a fiber stack if this is an async
15711571
/// store.
1572+
#[cfg(feature = "gc")]
15721573
unsafe fn maybe_async_gc(&mut self, root: Option<VMGcRef>) -> Result<Option<VMGcRef>> {
15731574
let mut scope = crate::OpaqueRootScope::new(self);
15741575
let store_id = scope.id();

0 commit comments

Comments
 (0)