From 36eacc00117ab4718169e0f838f3bd52a9e49474 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 8 Nov 2026 15:10:15 +0100 Subject: [PATCH] Fix local C headers when rex runs inside their folder The header's folder was an empty path there, so a bare -I swallowed the '-' (stdin) argument and cc failed with 'no input files'. Pass the header's absolute folder instead. Co-Authored-By: Claude Opus 5.5 --- src/cheader.rs | 6 +++++- tests/clib.rs | 13 +++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/src/cheader.rs b/src/cheader.rs index dfccc0b..71b05d4 100644 --- a/src/cheader.rs +++ b/src/cheader.rs @@ -193,7 +193,11 @@ fn load_uncached(header: &str, dir: &Path, link: Option<&str>) -> Result