code wiki / _hdl_build / nx_js_bundle_probe.nx

nx_js_bundle_probe.nx

buildroot/runtime/_hdl_build/nx_js_bundle_probe.nx

3155 B52 linesdepth 7pulls 22 transitivereach 0 importersview sourcekind probetopic js
docsdependenciesstructsconstsfunctions

about

nx_js_bundle_probe.nx -- name the NEXT construct blocking real bundles (2026-07-27). After the Unicode-identifier fix, netflix's bundle fails inside TypeScript's downlevel async helper at `t.trys.push([0,4,,5])` -- an ARRAY LITERAL WITH AN ELISION (hole). Controls first, so a FAIL row is a named gap and not a broken probe.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_js_eval.nx nx_js_bundle_probe.nx

imports: nx_syscalls.nxnx_js_eval.nx

imported by: nobody (leaf or entry point)

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

main bp_try sys_mmap bp_len bp_p sys_write bp_p ↻

structs

none

consts

none

functions

8func bp_p(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } sys_write(1, s, n); return 0 }
called by 2: bp_trymain calls 1: sys_write
9func bp_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: bp_try
10func bp_try(label: *u8, src: *u8) -> i64
called by 1: main calls 3: sys_mmapbp_lenbp_p
19func main() -> i64
calls 2: bp_trybp_p