Merge pull request #163 from arizhih/fix-lang-detect
fix: lang_detect not working properly
This commit is contained in:
commit
744804a8aa
4 changed files with 14 additions and 23 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 or CMAKE compile flags
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue