code wiki / (root) / smoke_nxc_pipeline7.nx

smoke_nxc_pipeline7.nx

buildroot/runtime/smoke_nxc_pipeline7.nx

2303 B64 linesdepth 10pulls 38 transitivereach 0 importersview sourcekind smoketopic smoke
docsdependenciesstructsconstsfunctions

about

Add stage 5 (write_elf) to the pipeline replay. Writes to fd 3 (a pipe / dummy fd that we don't care about — kernel returns EBADF, sys_write returns negative). We just want to confirm write_elf can be CALLED without crashing.

dependencies 13 imports · 0 importers

syscalls.nx types.nx lex_kinds.nx outbuf.nx ir.nx lex.nx parse.nx opt.nx regalloc.nx riscv.nx smoke_nxc_pipeline7.nx

diagram shows first 10 each side; +3 more imports, +0 more importers in the complete lists below.

imports: syscalls.nxtypes.nxlex_kinds.nxoutbuf.nxir.nxlex.nxparse.nxopt.nxregalloc.nxriscv.nxcrt0.nxnxasm_v2.nxelf_writer.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

20func main() -> i64 {