code wiki / _hdl_build / nx_eqtmp_reap.nx

nx_eqtmp_reap.nx

buildroot/runtime/_hdl_build/nx_eqtmp_reap.nx

2309 B57 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_eqtmp_reap.nx -- ONE-SHOT: unlink the LEGACY fixed-path equiv-gate temps orphaned by the 2026-08-05 per-run-nonce change (nx_cc_equiv_gate now names temps eqa_<nonce>.* and cleans up after itself; the old fixed names below are never written or overwritten again, so the final set would sit on disk forever). Idempotent: a missing path counts as already-clean. Run from nishihost CWD (nx_job_run default): /tmp absolute, _build via buildroot/. license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_eqtmp_reap.nx

imports: nx_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_mmap reap sys_unlinkat sys_write rp_putn sys_mmap ↻ sys_write ↻ sys_exit

structs

none

consts

none

functions

8func rp_putn(v: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
20func reap(path: *u8, removed: *i64, missing: *i64) -> i64
called by 1: main calls 1: sys_unlinkat
24func main(argc: i64, argv: *i64) -> i64