Skip to content

Commit 65832cc

Browse files
committed
build: pin -std=c11 for instrument-hooks core.c
The Zig-generated dist/core.c is rejected under C23 (GCC 15's default), so pin C11 in the native extension build.
1 parent b2d12d8 commit 65832cc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
# upstream silences; in particular distros like Nix/Debian/Fedora inject
4242
# -Werror=format-security, which would otherwise fail the build.
4343
extra_compile_args=[
44+
"-std=c11",
4445
"-Wno-format",
4546
"-Wno-format-security",
4647
"-Wno-unused-but-set-variable",

0 commit comments

Comments
 (0)