rewrite wasm/Emit.zig

mainly, rework how relocations works. This is the point at which symbol
indexes are known - not before. And don't emit unnecessary relocations!
They're only needed when emitting an object file.

Changes wasm linker to keep MIR around long-lived so that fixups can be
reapplied after linker garbage collection.

use labeled switch while we're at it
e521879e47Andrew Kelley committed on 1/15/2025, 11:11:35 PMparentb9355ed
11 files changedLine totals unavailable