Skip to content

Commit 807aa94

Browse files
committed
fix: force C17 to build instrumenthooks
1 parent e64cdfa commit 807aa94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/codspeed/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ fn main() {
1111
.file("instrument-hooks/dist/core.c")
1212
.include("instrument-hooks/includes")
1313
.flag("-w") // Suppress all warnings
14+
.flag("-std=gnu17") // Force C17 to avoid noreturn errors with gcc > 15
1415
.compile("instrument_hooks");
1516

1617
let bindings = bindgen::Builder::default()

0 commit comments

Comments
 (0)