zig
zig copied to clipboard
Tier System: `x86_64-haiku`
Would be great to add proper support for this OS - https://www.haiku-os.org/
Headers: https://github.com/haiku/haiku/tree/master/headers
The current goal is Tier 3. Once Zig reaches Tier 3 this issue will get renamed to Tier 2, and so on.
There appears to be WIP for this in #7546
tips for anyone looking into this currently:
- run nightly (new malloc is needed)
- ~~build your own LLVM -- checkout haikuports and remove this line and this patch~~ no longer needed for LLVM20, fixed in haikuports
State of affairs after the std.Io merge:
- libroot doesn't expose
preadv/pwritev, but has the equivalentreadv_pos/writev_pos. See #25739. -
SIGIOis not available so some other signal needs to be used.