Commit 220ca5d
committed
fix(build): drop link_libc from inline test targets
The inline-test targets added in the previous commit set link_libc=true,
which on a glibc (gnu-ABI) Linux target emits PT_INTERP=/lib64/ld-linux-x86-64.so.2.
That FHS loader path does not exist in the Nix build sandbox, so 'zig build test'
could not exec the freshly-built test binaries and the Garnix ci-linux-x86_64
check failed (GitHub Actions passed because its runners are real FHS systems).
The crc32jam/rle8182/lzh leaf modules import only std and need no libc, so
removing link_libc makes the test binaries statically linked (no PT_INTERP),
matching the existing zig_unit_tests target that already builds cleanly in the
sandbox. Verified: gnu-target test binary now has no PT_INTERP.1 parent d4c90c8 commit 220ca5d
1 file changed
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
0 commit comments