From aed17974951fa49ec13446e482bf165589e2cbbf Mon Sep 17 00:00:00 2001 From: J Robert Ray Date: Tue, 22 Aug 2023 16:14:41 -0700 Subject: [PATCH] Add missing cfg feature for fuse code This missing cfg would cause compile errors when compiling without the fuse-backend feature enabled. Signed-off-by: J Robert Ray --- crates/spfs/src/env.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/spfs/src/env.rs b/crates/spfs/src/env.rs index cebec0c08..7771a67e2 100644 --- a/crates/spfs/src/env.rs +++ b/crates/spfs/src/env.rs @@ -450,6 +450,7 @@ where self.mount_fuse_onto(rt, SPFS_DIR).await } + #[cfg(feature = "fuse-backend")] async fn mount_fuse_onto

(&self, rt: &runtime::Runtime, path: P) -> Result<()> where P: AsRef,