aboutsummaryrefslogtreecommitdiff
path: root/helix-syntax/build.rs
diff options
context:
space:
mode:
authorJan Hrastnik2021-06-05 21:56:04 +0000
committerBlaž Hrastnik2021-06-06 00:27:58 +0000
commit212f6bc372c4ab1f4f8a3a6fe6948cddefe2fda1 (patch)
treecbd9f71a2d34d60edab0762576df3a85fb5bd411 /helix-syntax/build.rs
parentc5c3ec07f4089d831c88b3edd58bc2b6e8872a72 (diff)
changed flag in build_cpp '/std:c++14' to '/std:c++17' due to tree_sitter_haskell not compiling on msvc without it
Diffstat (limited to 'helix-syntax/build.rs')
-rw-r--r--helix-syntax/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs
index a392a033..5d539480 100644
--- a/helix-syntax/build.rs
+++ b/helix-syntax/build.rs
@@ -59,7 +59,7 @@ fn build_cpp(files: Vec<String>, language: &str) {
let mut build = cc::Build::new();
let flag = if build.get_compiler().is_like_msvc() {
- "/std:c++14"
+ "/std:c++17"
} else {
"-std=c++14"
};