code wiki / (root) / nx_hdlimp_probe.nx

nx_hdlimp_probe.nx source

↩ module page · 12 lines · 427 B

1// nx_hdlimp_probe.nx -- POSITIVE probe for debt 1785608999: an entry file 2// in runtime/ importing a module that lives ONLY in runtime/_hdl_build/. 3// Baseline (resolver without the _hdl_build subroot): expand_imports failed. 4// After the resolver fix: builds, and exit code 0 proves symbol linkage. 5 6import "nx_syscalls.nx" 7import "nx_hdlimp_lib.nx" 8 9func main() -> i64 { 10 sys_exit(hdlimp_forty_two() - 42) 11 return 0 12}