diff --git a/crates/wasmtime/src/store.rs b/crates/wasmtime/src/store.rs index 644633f053..8c3a63df48 100644 --- a/crates/wasmtime/src/store.rs +++ b/crates/wasmtime/src/store.rs @@ -540,6 +540,7 @@ impl Store { /// Note that this limiter is only used to limit the creation/growth of /// resources in the future, this does not retroactively attempt to apply /// limits to the [`Store`]. + #[cfg(feature = "async")] pub fn limiter_async( &mut self, mut limiter: impl FnMut(&mut T) -> &mut (dyn crate::ResourceLimiterAsync)