code wiki / _hdl_build / _nv1l_rtgate_test.nx
_nv1l_rtgate_test.nx source
↩ module page · 8 lines · 250 B
1// AUTHORED BY THE NISHI BUILDER (GATE_HARNESS test) -- asserts the round-trip+tamper gate is GREEN
2import "_nv1l_rtgate.nx"
3import "nx_syscalls.nx"
4func main() -> i64 {
5 if _nv1l_rtgate_check() == 1 { sys_exit(0) }
6 sys_exit(1)
7 return 1
8}