We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60d1277 commit d080776Copy full SHA for d080776
1 file changed
crates/wasmtime/src/runtime/store.rs
@@ -729,7 +729,11 @@ impl<T> Store<T> {
729
let inner = StoreOpaque {
730
_marker: marker::PhantomPinned,
731
engine: engine.clone(),
732
- vm_store_context: Default::default(),
+ vm_store_context: if engine.tunables().epoch_interruption_via_mmu {
733
+ VMStoreContext::with_interrupt_page()
734
+ } else {
735
+ Default::default()
736
+ },
737
#[cfg(feature = "stack-switching")]
738
continuations: Vec::new(),
739
instances: PrimaryMap::new(),
0 commit comments