From 6f781f3d7130c6fc003517c04217cff790c5775e Mon Sep 17 00:00:00 2001 From: Hojun-Cho Date: Wed, 10 Jun 2026 15:19:10 +0900 Subject: [PATCH] selfhost: drop dead 'import mem' (#16 PREP-deadimport) mem.ww was retired in Phase-0; these two imports survived only because the driver silently skipped unresolvable imports. Provably dead: no mem module exists and both units build identically without them. Removal precedes the loud driver, which would otherwise fatal on them. --- selfhost/cmd/w6a/asm.ww | 1 - selfhost/cmd/w6a/main.combined.ww | 1 - selfhost/test/uses.ww | 1 - 3 files changed, 3 deletions(-) diff --git a/selfhost/cmd/w6a/asm.ww b/selfhost/cmd/w6a/asm.ww index 4176d9f2..ba2294d7 100644 --- a/selfhost/cmd/w6a/asm.ww +++ b/selfhost/cmd/w6a/asm.ww @@ -13,7 +13,6 @@ package w6a; import os; import rt; -import mem; import opcodes; import strings; diff --git a/selfhost/cmd/w6a/main.combined.ww b/selfhost/cmd/w6a/main.combined.ww index b0968325..a37e7ab2 100644 --- a/selfhost/cmd/w6a/main.combined.ww +++ b/selfhost/cmd/w6a/main.combined.ww @@ -3684,7 +3684,6 @@ package w6a; import os; import rt; -import mem; import opcodes; import strings; diff --git a/selfhost/test/uses.ww b/selfhost/test/uses.ww index 3202475c..ef479d85 100644 --- a/selfhost/test/uses.ww +++ b/selfhost/test/uses.ww @@ -8,7 +8,6 @@ package test; import os; -import mem; import fmt; def MAX_LINE: i32 = 4096;