code wiki / _hdl_build / _fc_rtgate_test.nx

_fc_rtgate_test.nx source

↩ module page · 8 lines · 246 B

1// AUTHORED BY THE NISHI BUILDER (GATE_HARNESS test) -- asserts the round-trip+tamper gate is GREEN 2import "_fc_rtgate.nx" 3import "nx_syscalls.nx" 4func main() -> i64 { 5 if _fc_rtgate_check() == 1 { sys_exit(0) } 6 sys_exit(1) 7 return 1 8}