code wiki / _hdl_build / nx_constidx_probe.nx

nx_constidx_probe.nx

buildroot/runtime/_hdl_build/nx_constidx_probe.nx

816 B28 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind probe
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_constidx_probe.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 cp_sum sys_write

structs

none

consts

7const CP_S: *u8 = "abc" as *u8
8const CP_N: i64 = 3

functions

10func cp_sum() -> i64
called by 1: main
20func main(argc: i64, argv: *i64) -> i64
calls 2: cp_sumsys_write