Builds a usable zig2, but when building stage3 the runner fails in `File.Atomic.link` as BFS does not support hard links.
Patching `renamePreserve` to `rename` builds stage3, but it errors here when trying to fetch packages (`_kern_rewind_dir` is returning `B_UNSUPPORTED`):
https://codeberg.org/ziglang/zig/src/commit/8578b07faaa61f772e928961e3546156c14677dd/src/Package/Fetch.zig#L1720
.BUSY=>|err|returnsyscall.errnoBug(err),// O_EXCL not passed
I changed it because `error.DeviceBusy` wasn't in the error set, and made it consistent with `dirOpenDirPosix` above (but without the comment, oops).
https://codeberg.org/ziglang/zig/src/commit/52c000c2478197a4e7b7fe883deb9e6744ee68b2/lib/std/Io/Threaded.zig#L5300
Test processes refer to an undefined __libc_current_sigrtmin, and in general non-trivial programs are unlikely to work. This patchset gets as far as "single-threaded stage3 almost builds".
I did some development on wio, but that required ad hoc patches to my code and the stdlib as much of Io is still not usable on Haiku. It's something I would like to look at more, but don't have the time right now.
> Were you able to run the std lib tests?
Test processes refer to an undefined `__libc_current_sigrtmin`, and in general non-trivial programs are unlikely to work. This patchset gets as far as "single-threaded stage3 almost builds".
I did some development on [wio](https://github.com/ypsvlq/wio), but that required ad hoc patches to my code and the stdlib as much of `Io` is still not usable on Haiku. It's something I would like to look at more, but don't have the time right now.
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set.
Reference
ziglang/zig!31851
Loading...
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ypsvlq/zig:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?