nx_win_hello.nx source
↩ module page · 3 lines · 247 B
1// nx_win_hello.nx -- proves nishi-compiled code runs NATIVE on Windows (no WSL/Docker).
2// distinctive arithmetic so the exit code can only come from real codegen.
3func main() -> i64 { let a: i64 = 200; let b: i64 = 63; return a - b } // = 137