danos/test/system/services/device-list
Daniel Samson 4476208361
build: exact per-binary imports — the pre-wired default set is gone
Every binary's build.zig now names precisely the modules its source
imports (derived by scanning each artifact's sources, transitively
through same-directory files), and its zon carries only the domains
those come from — kernel stays implicit (the root shim + link script
live there). build-support's userBinary resolves each name through one
module-to-domain table (module_homes); Domains/domains()/defaultImports
and the raw recipe entry point are deleted. An undeclared @import is a
compile error (verified: injecting @import("xkeyboard-config") into
logger fails with 'no module named ... available within module
program'), and e.g. xkeyboard-config now appears in exactly two
manifests — the two keyboard drivers. Availability never bloated the
emitted binaries (Zig compiles only what a program imports); this makes
the declared interfaces honest. Production and -Dtest-case manifests
byte-identical; all build variants and standalone package builds
green.
2026-07-30 06:42:31 +01:00
..
build.zig build: exact per-binary imports — the pre-wired default set is gone 2026-07-30 06:42:31 +01:00
build.zig.zon build: exact per-binary imports — the pre-wired default set is gone 2026-07-30 06:42:31 +01:00
device-list.zig reorg: move test fixtures to test/system/services (source + boot volume) 2026-07-23 00:11:07 +01:00