diff --git a/sys/Cargo.toml b/sys/Cargo.toml index b74a8ea..67e21ea 100644 --- a/sys/Cargo.toml +++ b/sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "whisper-rs-sys" -version = "0.10.0" +version = "0.10.1" edition = "2021" description = "Rust bindings for whisper.cpp (FFI bindings)" license = "Unlicense" diff --git a/sys/build.rs b/sys/build.rs index dad3d57..97e5a01 100644 --- a/sys/build.rs +++ b/sys/build.rs @@ -184,6 +184,7 @@ fn main() { // debug builds are too slow to even remotely be usable, // so we build with optimizations even in debug mode config.define("CMAKE_BUILD_TYPE", "RelWithDebInfo"); + config.cxxflag("-DWHISPER_DEBUG"); } // Allow passing any WHISPER cmake flag