From 9d1b24632ecb30d3712257c0502376bb1edfc26c Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Wed, 20 Oct 2021 16:34:13 -0700 Subject: [PATCH] fix --- crates/wasmtime/src/store.rs | 1 + 1 file changed, 1 insertion(+) 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)