- Ukraine
- https://bpavuk.neocities.org
-
Joined on
2025年07月04日
I don't know how to make it so that the check (in ensureWindows() helper) is only executed on functions that tap into external DLLs because these functions have no body to add `comptime {...
@squeek502 opt 2 will break a ton of stuff - there is data that only makes sense on a platform it belongs to. honestly I lean towards per-function gating (opt 1).
dafuq!? where do you even obtain a copy of Plan9 to test this on???
so, tests revealed a problem. the mere fact of importing OS APIs without preliminary checks result in compile error. you either not use it at all or only import it behind a platform check. I...
I cooked up something.
-target x86-windows.xp does not run on Windows XP with Zig-provided entry point
@desttinghim this should work without declaring kernel32 functions as exports, no? ntdll.dll is present on WinXP, but not every API there is present in XP. the only way forward is actually running...
-target x86-windows.xp does not run on Windows XP with Zig-provided entry point
Non-invasive patch welcome.
.gitignore the .kotlin folder!