fix docs.rs build
This commit is contained in:
parent
a6bf321765
commit
9f84460cde
1 changed files with 5 additions and 0 deletions
|
|
@ -32,6 +32,11 @@ fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
// stop if we're on docs.rs
|
||||
if env::var("DOCS_RS").is_ok() {
|
||||
return;
|
||||
}
|
||||
|
||||
// build libwhisper.a
|
||||
env::set_current_dir("whisper.cpp").expect("Unable to change directory");
|
||||
let code = std::process::Command::new("make")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue