Commitac3212e9Recorded16 Mar 2026Repositorysigil-harfbuzz

Fix Windows FFI build and missing test imports

Message

Guard Unix-only dlopen helpers (trydlopen, trylinkerscript, searchlibrarypath) with #ifndef WIN32 so the Windows cross-compile via Zig doesn't see undeclared dlopen/RTLDNOW. The main platform dispatch in ffiopen_library was already guarded.

Add missing (sigil fs) import to cairo, harfbuzz, and freetype tests that use file-exists? — caused unbound variable error in CI.

Changed
 test/test-harfbuzz.sgl | 1 +
 1 file changed, 1 insertion(+)
Diff
test/test-harfbuzz.sglmodified
@@ -3,6 +3,7 @@
3
4
(import (sigil core)
5
(sigil test)
+6
(sigil fs)
7
(sigil ffi)
8
(sigil io)
9
(sigil process)