mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-10 07:26:23 -04:00
fix(build): use std helper rather than passing -std=c11 flag
MSVC expects `/std:c11`
This commit is contained in:
parent
6b7e298549
commit
d861eab22b
|
|
@ -39,7 +39,7 @@ fn main() {
|
|||
}
|
||||
|
||||
config
|
||||
.flag_if_supported("-std=c11")
|
||||
.std("c11")
|
||||
.flag_if_supported("-fvisibility=hidden")
|
||||
.flag_if_supported("-Wshadow")
|
||||
.flag_if_supported("-Wno-unused-parameter")
|
||||
|
|
|
|||
Loading…
Reference in a new issue