fix(sys): Correct cmake source path in build.rs

This commit is contained in:
Alexey Lapitsky 2025-11-03 00:17:46 +01:00
parent a23990c563
commit 1e85bb2d42
No known key found for this signature in database

View file

@ -102,7 +102,7 @@ fn main() {
println!("cargo:rerun-if-changed=wrapper.h"); println!("cargo:rerun-if-changed=wrapper.h");
let out = PathBuf::from(env::var("OUT_DIR").unwrap()); let out = PathBuf::from(env::var("OUT_DIR").unwrap());
let whisper_root = out.join("whisper.cpp/"); let whisper_root = out.join("whisper.cpp");
if !whisper_root.exists() { if !whisper_root.exists() {
std::fs::create_dir_all(&whisper_root).unwrap(); std::fs::create_dir_all(&whisper_root).unwrap();