ci: verify no libc

This commit is contained in:
Mitchell Hashimoto
2026-04-24 06:50:17 -07:00
parent 423d8bb327
commit 2b46322df8

View File

@@ -429,6 +429,10 @@ jobs:
ldd zig-out/lib/libghostty-vt.so.0.1.0
! ldd zig-out/lib/libghostty-vt.so.0.1.0 2>/dev/null | grep -qE 'libc\+\+|libc\+\+abi'
- name: Verify shared library has no libc dependency
run: |
! nm --dynamic zig-out/lib/libghostty-vt.so.0.1.0 | grep -qE ' U .*(memcpy|memmove|memset|memcmp|strlen)@'
- name: Verify static archive contains SIMD deps
run: |
nm -g zig-out/lib/libghostty-vt.a | grep -q ' T .*simdutf'