Unnamed repository; edit this file 'description' to name the repository.
Added "/utf-8" to Windows compilation options. (#603)
Leoi Hung Kin 2021-08-17
parent a2cd9cc · commit 89089a7
-rw-r--r--helix-syntax/build.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs
index ca16f636..75f8c970 100644
--- a/helix-syntax/build.rs
+++ b/helix-syntax/build.rs
@@ -77,7 +77,8 @@ fn build_library(src_path: &Path, language: &str) -> Result<()> {
command
.args(&["/nologo", "/LD", "/I"])
.arg(header_path)
- .arg("/Od");
+ .arg("/Od")
+ .arg("/utf-8");
if let Some(scanner_path) = scanner_path.as_ref() {
command.arg(scanner_path);
}