code wiki / _hdl_build / nx_constidx_probe.nx
nx_constidx_probe.nx
buildroot/runtime/_hdl_build/nx_constidx_probe.nx
about
nx_constidx_probe.nx -- MINIMAL REPRODUCER: index a const *u8 directly.
Paired with nx_constidx_ctrl.nx, which is byte-identical EXCEPT it copies the literal into a local `let`
first. If probe FAILS and ctrl BUILDS, the defect is isolated to CONST[i] with nothing else varying.
license_tier: ORIGINAL No hw writes (Rule 26).
dependencies 1 imports · 0 importers
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
structs
| none |
consts
| 7 | const CP_S: *u8 = "abc" as *u8 |
| 8 | const CP_N: i64 = 3 |
functions
| 10 | func cp_sum() -> i64 called by 1: main |
| 20 | func main(argc: i64, argv: *i64) -> i64 |