From b9fdf149be1ed34910b5df7d6ebc10e2c87a532a Mon Sep 17 00:00:00 2001 From: Niko Date: Sat, 6 Apr 2024 11:33:21 -0600 Subject: [PATCH] Fix unused warnings --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index e6a7b61..a6da664 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,6 +18,7 @@ static LOG_TRAMPOLINE_INSTALL: Once = Once::new(); pub use error::WhisperError; pub use standalone::*; +#[cfg(any(feature = "whisper-cpp-log", feature = "whisper-cpp-tracing"))] use std::sync::Once; pub use utilities::*; pub use whisper_ctx::WhisperContext;