Skip to content

Commit 6974e54

Browse files
committed
fix cfg
1 parent fe5b1e1 commit 6974e54

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/wasmtime/src/runtime/vm/vmcontext.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1293,10 +1293,12 @@ impl VMStoreContext {
12931293
}
12941294
}
12951295

1296+
#[cfg(feature = "component-model-async")]
12961297
pub(crate) fn component_context_mut(&mut self) -> &mut [u32; NUM_COMPONENT_CONTEXT_SLOTS] {
12971298
self.component_context.get_mut()
12981299
}
12991300

1301+
#[cfg(feature = "component-model-async")]
13001302
pub(crate) fn current_thread_mut(&mut self) -> &mut VMLazyThread {
13011303
self.current_thread.get_mut()
13021304
}

0 commit comments

Comments
 (0)