nx_exit42.nx source
↩ module page · 6 lines · 251 B
1// nx_exit42.nx -- trivial container entrypoint: exits 42 (proves the
2// sovereign container runtime executes a process + propagates its exit code).
3// expect_exit: 42
4// license_tier: ORIGINAL
5import "nx_syscalls.nx"
6func main() -> i64 { return 42 }