From 65832cc7a7455f7c94b553bcb7f1e1a71ece1be5 Mon Sep 17 00:00:00 2001 From: not-matthias Date: Mon, 22 Jun 2026 13:57:27 +0200 Subject: [PATCH] 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. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 881cbbd..94d5b6c 100644 --- a/setup.py +++ b/setup.py @@ -41,6 +41,7 @@ # upstream silences; in particular distros like Nix/Debian/Fedora inject # -Werror=format-security, which would otherwise fail the build. extra_compile_args=[ + "-std=c11", "-Wno-format", "-Wno-format-security", "-Wno-unused-but-set-variable",