code wiki / _hdl_build / nx_wd_toy_red.nx
nx_wd_toy_red.nx source
↩ module page · 10 lines · 310 B
1// nx_wd_toy_red.nx -- gate fixture for the work dispatcher: a FAILING EXEC
2// recipe. Writes no marker and exits 7; the dispatcher must report RED and
3// flip the scratch row RED (fail-loud, no livelock).
4// license_tier: ORIGINAL
5import "nx_syscalls.nx"
6
7func main() -> i64 {
8 sys_exit(7)
9 return 7
10}