From 4dddcf24fa63fa50f6a9e361378f3133316e110a Mon Sep 17 00:00:00 2001 From: Johnathan Sharratt Date: Sun, 11 Aug 2024 22:44:16 +1000 Subject: [PATCH] Fix for nodejs --- lib/wasix/src/state/env.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/wasix/src/state/env.rs b/lib/wasix/src/state/env.rs index ff32cbc74c6..97f83e74f00 100644 --- a/lib/wasix/src/state/env.rs +++ b/lib/wasix/src/state/env.rs @@ -1001,6 +1001,7 @@ impl WasiEnv { } /// Returns true if the environment has an active journal + #[cfg(feature = "journal")] pub fn has_active_journal(&self) -> bool { self.runtime().active_journal().is_some() }