compiler.sx needs only `List` (string is a builtin), so import the std/list.sx part-file instead of std.sx. Its standalone transitive footprint drops from ~16k to ~50 lines of IR. Enabled by core.sx now self-declaring its libc, so list.sx → core.sx resolves without the std assembly. Regenerates 40 .ir snapshots: compiler.sx sits in the std import graph (std → cli → build → compiler), so narrowing its import shifts the registration order in every std program, renumbering LLVM symbol suffixes (@foo.N → @foo.N+1) and adding a redundant `declare void @out` (LLVM dedups it). Verified the diffs are purely that — no .exit/.stdout/.stderr changed, no instruction/type/constant changed — and the full suite is green (817/0).
815 KiB
815 KiB