The flat #import of mem.sx predated the namespace tail — the tail's mem :: #import already puts mem.sx in the program graph, which is all the ufcs helpers (context.allocator.create/alloc/free/clone) and the CAllocator default-context machinery need; std.sx itself references no mem name. Probe-verified the full mem surface + all gates: suite 588/588, zig build test 0, m3te 23/23, game builds + bundles. The double import was also duplicating lowered IR — the 37 re-pinned .ir snapshots net ~2.5k lines smaller; output streams byte-identical.
2.9 KiB
2.9 KiB