diff options
-rw-r--r-- | helix-syntax/build.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-syntax/build.rs b/helix-syntax/build.rs index fd88138b..2e70ef1a 100644 --- a/helix-syntax/build.rs +++ b/helix-syntax/build.rs @@ -63,7 +63,8 @@ fn build_cpp(files: Vec<String>, language: &str) { .include(PathBuf::from(file).parent().unwrap()) .pic(true) .warnings(false) - .cpp(true); + .cpp(true) + .flag("-std=c++14"); } build.compile(&format!("tree-sitter-{}-cpp", language)); } |