Workspace feature unification pulls vosk into jarvis-gui through jarvis-core, so jarvis-gui needs the same rustc-link-search as jarvis-app and jarvis-cli for libvosk.lib at link time.
9 lines
282 B
Rust
9 lines
282 B
Rust
fn main() {
|
|
let manifest_dir = std::env::var("CARGO_MANIFEST_DIR").unwrap();
|
|
let lib_path = std::path::Path::new(&manifest_dir)
|
|
.join("..\\..\\lib\\windows\\amd64");
|
|
|
|
println!("cargo:rustc-link-search=native={}", lib_path.display());
|
|
|
|
tauri_build::build()
|
|
}
|