code wiki / (root) / nx_mp_tls_probe.nx

nx_mp_tls_probe.nx source

↩ module page · 12 lines · 472 B

1// nx_mp_tls_probe.nx -- isolate whether the sovereign TLS fetch import chain still COMPILES in the current tree 2// (the model-port fetch depends on it). Imports the fetch primitive + prints; no network. expect_exit: 0 3import "nx_syscalls.nx" 4import "nx_x509_trust_store.nx" 5import "nx_trust_store_load_from_certdata.nx" 6import "nx_https_fetch_follow.nx" 7 8func main() -> i64 { 9 sys_write(1, "tls-fetch+truststore-import-ok\n" as *u8, 31) 10 sys_exit(0) 11 return 0 12}