Use UTF-8 to build sys on Windows
This commit is contained in:
parent
e059748640
commit
60784be43a
1 changed files with 4 additions and 0 deletions
|
|
@ -164,6 +164,10 @@ fn main() {
|
|||
.very_verbose(true)
|
||||
.pic(true);
|
||||
|
||||
if cfg!(target_os = "windows") {
|
||||
config.cxxflag("/utf-8");
|
||||
}
|
||||
|
||||
if cfg!(feature = "coreml") {
|
||||
config.define("WHISPER_COREML", "ON");
|
||||
config.define("WHISPER_COREML_ALLOW_FALLBACK", "1");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue