From a325a937e5d89ad01b75579fea3dbc35dfd030fe Mon Sep 17 00:00:00 2001 From: Niko Date: Sat, 6 Apr 2024 11:10:01 -0600 Subject: [PATCH] Fix unused static issue --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index bdd326f..5298452 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,6 +13,7 @@ mod whisper_sys_log; #[cfg(feature = "whisper-cpp-tracing")] mod whisper_sys_tracing; +#[cfg(any(feature = "whisper-cpp-log", feature = "whisper-cpp-tracing"))] static LOG_TRAMPOLINE_INSTALL: Once = Once::new(); pub use error::WhisperError;