wcc: delete unused warning counters and ww err twin

This commit is contained in:
2026-08-09 04:19:22 +09:00
parent 2a03cfbfa4
commit c9425a3b46
5 changed files with 4 additions and 64 deletions

View File

@@ -40,8 +40,7 @@ type checker = struct {
// diagnostics. Tool-local (NOT a lib wrapper): messages are built from
// many fragments and we route through os.write to avoid libc stdio.
// .len replaces the error-prone hand-counted byte literals these sites
// carried. Lives here (not err.ww) because the selfhost build pulls
// check.ww but not err.ww (which ports err.c for the C-driven path).
// carried.
fn cerr(m: str) void = {
os.write(2, m.ptr, m.len: u64);
};