Files
waozi 2b49d83b60 Build on macOS again, fix the package and playground CI jobs
macOS: the self-hosted compiler backend and its file, process and timer
modules called Linux-only libc (__errno_location, pipe2, statx,
clock_nanosleep, sched_getaffinity, Linux open flags and clock ids), and
the checked bootstrap C was generated for Linux only. std/process_run_linux,
std/file_tree_linux, std/timer_linux and cmd/compiler_backend_process gain
Darwin branches (pipe + FD_CLOEXEC, __error, fstatat with the 64-bit-inode
record, nanosleep, CLOCK_MONOTONIC 6, Darwin open flags and sysconf name),
and open/fcntl take their mode as a variadic argument as Apple's arm64 ABI
requires. Darwin's $INODE64 symbols are resolved at run time, so one seed
serves Apple Silicon and Intel. bootstrap/darwin holds the Darwin copies of
the three platform modules, generated with the Darwin defines; the Makefile
selects them on a Darwin host, passes ZIRAN_DEFINES when generating those
modules, and check-bootstrap/update-bootstrap cover them.

Package jobs: check.yml ran the deleted test_native_package.sh wrapper; it
now runs scripts/test_native_package.zi directly.

Site: the browser playground linked the deleted cmd/zi2zx/zir_asm_lower.c
and missed ZxExecBuild's debug argument; it now compiles the checked Ziran
lowering from bootstrap/compiler_zir_lower.

The widget table generator measures native ZX, the default on Linux
x86-64 and AArch64, labels the column accordingly and records host load.
2026-11-16 00:25:27 -03:00
..