danos/library/kernel
Daniel Samson 37326c7664
C5: delete the runtime.zig and system.zig compatibility shims
With every consumer migrated (C2), nothing imports `runtime` or `system` any
longer. Removed both shim files and their build.zig module definitions, dropped
the `runtime` entry from `default_imports`, and rewrote the per-binary root shim
(library/kernel/root.zig) to import `start` (_start + panic) and `logging`
(std_options) directly instead of through `runtime`.

addUserBinary/addThreadedUserBinary/addUserBinaryImpl lose their `runtime_module`
parameter; the root module now pulls the two modules it needs out of
`default_imports` via a small findImport helper.

The runtime dumping ground is gone: the userspace library is library/kernel
(concern modules), library/device (driver/pci/usb/block/model/mmio/acpi data),
library/client (display, input service clients), and library/protocol (wire
contracts). Consumers @import concern modules by name.

Verified: zig build, zig build test, and QEMU (smoke, thread-spawn, thread-mutex,
logger, display-native, device-manager, usb-storage, input).
2026-07-22 23:32:05 +01:00
..
memory reorg: split the runtime into library/kernel concern modules (C1) 2026-07-22 22:53:13 +01:00
file-system.zig reorg: split the runtime into library/kernel concern modules (C1) 2026-07-22 22:53:13 +01:00
ipc.zig reorg: split the runtime into library/kernel concern modules (C1) 2026-07-22 22:53:13 +01:00
logging.zig reorg: split the runtime into library/kernel concern modules (C1) 2026-07-22 22:53:13 +01:00
process.zig reorg: split the runtime into library/kernel concern modules (C1) 2026-07-22 22:53:13 +01:00
root.zig C5: delete the runtime.zig and system.zig compatibility shims 2026-07-22 23:32:05 +01:00
service.zig reorg: split the runtime into library/kernel concern modules (C1) 2026-07-22 22:53:13 +01:00
start.zig reorg: split the runtime into library/kernel concern modules (C1) 2026-07-22 22:53:13 +01:00
system-call.zig reorg: rename library/runtime -> library/kernel (groundwork) 2026-07-22 22:27:39 +01:00
thread.zig reorg: split the runtime into library/kernel concern modules (C1) 2026-07-22 22:53:13 +01:00
time.zig reorg: split the runtime into library/kernel concern modules (C1) 2026-07-22 22:53:13 +01:00
user.ld reorg: rename library/runtime -> library/kernel (groundwork) 2026-07-22 22:27:39 +01:00