Fix at upstream, remove workaround

Signed-off-by: Xuanwo <github@xuanwo.io>
pull/264/head
Xuanwo 2022-04-23 02:07:09 +07:00
parent d5d2f7169e
commit 3c973f4530
No known key found for this signature in database
GPG Key ID: C423B4FA6B48E945
1 changed files with 1 additions and 4 deletions

@ -39,10 +39,7 @@ impl TreeSitterParser {
.flag_if_supported("-Wno-ignored-qualifiers")
// Workaround for: https://github.com/ganezdragon/tree-sitter-perl/issues/16
// should be removed after fixed.
.flag_if_supported("-Wno-return-type")
// Workaround for: https://github.com/MichaHoffmann/tree-sitter-hcl/issues/18
// should be removed after fixed.
.flag_if_supported("-Wno-missing-field-initializers");
.flag_if_supported("-Wno-return-type");
if cfg!(windows) {
cpp_build.flag("/std:c++14");