main through rustc too, as library cratesOpen and answer this issue on GitHub.
ready · opened 2026-10-20 · updated 2026-10-20 · 0 comments
Follow-up to #705 (0.0.1110). The CI sweep (crates/nikaia/tests/accepted_sweep.rs) checks every accepted one-file program that has a main. Of 1173 dumped programs, 277 have no main and are skipped, so a lowering defect in them is never seen. The owner’s rule still applies to them: whatever the checker accepts must compile in rustc.
To build
main are lowered as a library crate (--crate-type lib) and checked with rustc --emit=metadata, batched like the others.KNOWN list with its number. Do not fix it in this step.