Skip to content

Commit d025c05

Browse files
authored
fix: force using c11 as the upstream (#65)
Signed-off-by: yihong0618 <[email protected]>
1 parent 6f7b1ec commit d025c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ pub fn build_parsers(root_file: &Path) {
120120
}
121121

122122
let mut c_config = cc::Build::new();
123-
c_config.include(&dir).include(&sysroot_dir);
123+
c_config.std("c11").include(&dir).include(&sysroot_dir);
124124
c_config
125125
.flag_if_supported("-Wno-unused-label")
126126
.flag_if_supported("-Wno-unused-parameter")

0 commit comments

Comments
 (0)