nx_macroprobe.nx
buildroot/runtime/nx_macroprobe.nx
about
nx_macroprobe.nx -- does @ifdef TARGET_X86_64 resolve CONSISTENTLY across imported files?
nx_fcntl.nx compiled NX_SYS_FCNTL=25 (the @ifndef branch) while nx_syscalls.nx's numbers work.
Both use the identical @ifdef TARGET_X86_64 / @ifndef pattern. If one file takes the x86 branch
and another takes the riscv branch IN THE SAME BINARY, the macro is not applying uniformly.
expect_exit: 0 license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_fcntl.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
| none |
functions
| 9 | func mp_len(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n } called by 1: mp_puts |
| 10 | func mp_puts(s: *u8) -> i64 { sys_write(1, s, mp_len(s)); return 0 } |
| 11 | func mp_putn(v: i64) -> i64 |
| 22 | func main() -> i64 |