code wiki / _hdl_build / nx_fix_build.nx

nx_fix_build.nx

buildroot/runtime/_hdl_build/nx_fix_build.nx

910 B19 linesdepth 4pulls 5 transitivereach 0 importersview sourcekind tooltopic fix
docsdependenciesstructsconstsfunctions

about

nx_fix_build.nx -- consolidation-applier gate FIXTURE (mock build). Reads a FIXED input file /tmp/cab_input and writes its bytes to argv[1] (the artifact). If the input is absent, writes the literal "MISSING" -> the artifact DEPENDS on the input's presence/content, so the gate can prove the applier's byte-compare gate discriminates a live dependency from a dead one. exit 0 always. license_tier: ORIGINAL No hw writes (Rule 26).

dependencies 3 imports · 0 importers

nx_seg_store.nx nx_deploy_lib.nx nx_syscalls.nx nx_fix_build.nx

imports: nx_seg_store.nxnx_deploy_lib.nxnx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_exit sys_mmap dp_read sys_openat_rd sys_read sys_close ss_writefile sys_openat_wr sys_write sys_close ↻ sys_fsync

structs

none

consts

9const K_MAGIC_65536: i64 = 65536

functions

11func main(argc: i64, argv: *i64) -> i64