frontend: fix incorrect WebAssembly hasDebugInfo=false

This commit is contained in:
Andrew Kelley 2023-12-27 17:52:32 -07:00
parent 027e7c1c49
commit e47141a14e

View File

@ -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,
};