code wiki / _attic / _offc_micro_plain.nx

_offc_micro_plain.nx source

↩ module page · 10 lines · 277 B

1// Minimal test WITHOUT narr_func_enter. Imports nx_narr but doesn't 2// call into it. Tests whether just IMPORTING nx_narr breaks things. 3 4import "syscalls.nx" 5import "nx_narr.nx" 6 7func main() -> i64 { 8 sys_write(2, "[plain] hello\n" as *u8, 14) 9 return 42 10}