authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-12-27 17:52:32-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-01-01 19:49:08-07:00
loge47141a14e568b2aaa866de4e75496fcd63f1621
tree34a9fc68eb9208917d33a818a914ea4754835e8e
parent027e7c1c49fbabf6e199cbd585f0b4f9ec1eb77e

frontend: fix incorrect WebAssembly hasDebugInfo=false


1 files changed, 0 insertions(+), 1 deletions(-)

src/target.zig-1
...@@ -407,7 +407,6 @@ pub fn hasDebugInfo(target: std.Target) bool {...@@ -407,7 +407,6 @@ pub fn hasDebugInfo(target: std.Target) bool {
407 std.Target.nvptx.featureSetHas(target.cpu.features, .ptx78) or407 std.Target.nvptx.featureSetHas(target.cpu.features, .ptx78) or
408 std.Target.nvptx.featureSetHas(target.cpu.features, .ptx80) or408 std.Target.nvptx.featureSetHas(target.cpu.features, .ptx80) or
409 std.Target.nvptx.featureSetHas(target.cpu.features, .ptx81),409 std.Target.nvptx.featureSetHas(target.cpu.features, .ptx81),
410 .wasm32, .wasm64 => false,
411 .bpfel, .bpfeb => false,410 .bpfel, .bpfeb => false,
412 else => true,411 else => true,
413 };412 };