code wiki / (root) / nx_mesh_christus_probe.nx

nx_mesh_christus_probe.nx

buildroot/runtime/nx_mesh_christus_probe.nx

2023 B43 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind probetopic mesh
docsdependenciesstructsconstsfunctions

about

nx_mesh_christus_probe.nx -- minimal repro for the christus exit=11 (mesh.n_tris != 4). Allocs a 4-tri mesh exactly as build_christus_cone does, then exits with n_tris so the exit code IS the value under test: exit 4 = mesh field read is correct (bug is elsewhere in the integration test); exit != 4 = nx_mesh_alloc / struct-field codegen is the culprit. NO sh, NO gcc.

dependencies 3 imports · 0 importers

nx_tier.nx nx_syscalls.nx nx_mesh.nx nx_mesh_christus_probe.nx

imports: nx_tier.nxnx_syscalls.nxnx_mesh.nx

imported by: nobody (leaf or entry point)

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

main nx_mesh_alloc sys_mmap pw sys_write sys_mmap ↻ nx_mesh_set_vertex nx_mesh_set_triangle sys_write ↻ sys_mmap ↻

structs

none

consts

none

functions

9func pw(label: *u8, v: i64) -> i64
called by 1: main calls 2: sys_writesys_mmap
16func main() -> i64