Added "/utf-8" to Windows compilation options. (#603)

pull/604/head
Leoi Hung Kin 3 years ago committed by GitHub
parent a2cd9cce9d
commit 89089a7355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -77,7 +77,8 @@ fn build_library(src_path: &Path, language: &str) -> Result<()> {
command command
.args(&["/nologo", "/LD", "/I"]) .args(&["/nologo", "/LD", "/I"])
.arg(header_path) .arg(header_path)
.arg("/Od"); .arg("/Od")
.arg("/utf-8");
if let Some(scanner_path) = scanner_path.as_ref() { if let Some(scanner_path) = scanner_path.as_ref() {
command.arg(scanner_path); command.arg(scanner_path);
} }

Loading…
Cancel
Save