Skip to content

Commit

Permalink
changed flag in build_cpp '/std:c++14' to '/std:c++17' due to tree_si…
Browse files Browse the repository at this point in the history
…tter_haskell not compiling on msvc without it
  • Loading branch information
janhrastnik authored and archseer committed Jun 6, 2021
1 parent c5c3ec0 commit 212f6bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helix-syntax/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
};
Expand Down
2 changes: 1 addition & 1 deletion helix-syntax/languages/tree-sitter-haskell

0 comments on commit 212f6bc

Please sign in to comment.