aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax/build.rs
diff options
context:
space:
mode:
authorLeoi Hung Kin2021-08-17 11:58:29 +0000
committerGitHub2021-08-17 11:58:29 +0000
commit89089a73557827d6a364b0e622a565aaa8e0cbf9 (patch)
tree3d2f6dc8ff6f88bc9735079bb793e12c0c90a892 /helix-syntax/build.rs
parenta2cd9cce9d2fb809daff89716810ec2b8192ffa0 (diff)
Added "/utf-8" to Windows compilation options. (#603)
Diffstat (limited to 'helix-syntax/build.rs')
-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);
}