Commit e47141a14e

Andrew Kelley <andrew@ziglang.org>
2023-12-28 01:52:32
frontend: fix incorrect WebAssembly hasDebugInfo=false
1 parent 027e7c1
Changed files (1)
src/target.zig
@@ -407,7 +407,6 @@ pub fn hasDebugInfo(target: std.Target) bool {
             std.Target.nvptx.featureSetHas(target.cpu.features, .ptx78) or
             std.Target.nvptx.featureSetHas(target.cpu.features, .ptx80) or
             std.Target.nvptx.featureSetHas(target.cpu.features, .ptx81),
-        .wasm32, .wasm64 => false,
         .bpfel, .bpfeb => false,
         else => true,
     };