changed flag in build_cpp '/std:c++14' to '/std:c++17' due to tree_sitter_haskell not compiling on msvc without it

This commit is contained in:
Jan Hrastnik 2021-06-05 23:56:04 +02:00 committed by Blaž Hrastnik
parent c5c3ec07f4
commit 212f6bc372
2 changed files with 2 additions and 2 deletions

View file

@ -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"
};

@ -1 +1 @@
Subproject commit 004f2709c460d95fbfd1061f8efc98f36e33c03c
Subproject commit 237f4eb4417c28f643a29d795ed227246afb66f9