code wiki / _hdl_build / nx_deploy_stage.nx
nx_deploy_stage.nx
buildroot/runtime/_hdl_build/nx_deploy_stage.nx
about
nx_deploy_stage.nx -- CLI: the sovereign build->deploy rename-gap closer.
Copies a validated staged ELF into a deploy `.new` slot (safe-by-construction: dst MUST end .new, so it
can NEVER overwrite a live binary; the never-brick promote stays in /api/deploy).
usage: nx_deploy_stage --kat (self-test)
nx_deploy_stage stage <src-elf> <dst-.new> (JSON: rc, bytes, STAGED|REFUSED)
license_tier: ORIGINAL expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_deploy_stage_lib.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 9 | func main(argc: i64, argv: *i64) -> i64 |