authorgravatar for jacobly@ziglang.orgJacob Young <jacobly@ziglang.org> 2025-06-10 21:57:46-04:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2025-06-12 17:51:30+01:00
log4d2b216121e5fbdb019ab8e727df654e7b08e984
tree18412381235bbf029ec2a504751628cbb4196cb4
parentff89a98c50dbf826564657e7f98cc56194add163
signaturelock-open Commit is signed but in an unrecognized format.

test-stack-traces: correct expected object file name

The name of the ZCU object file emitted by the LLVM backend has been changed in this branch from e.g. `foo.obj` to `foo_zcu.obj`. This is to avoid name clashes. This commit just updates the stack trace tests which started failing on windows because of the object name change.

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

test/src/check-stack-trace.zig+1-1
......@@ -65,7 +65,7 @@ pub fn main() !void {
6565 // This actually violates the DWARF specification (DWARF5 § 3.1.1, lines 24-27).
6666 // The self-hosted backend uses the root Zig source file of the module (in compilance with the spec).
6767 if (std.mem.eql(u8, file_name, "test") or
68 std.mem.eql(u8, file_name, "test.exe.obj") or
68 std.mem.eql(u8, file_name, "test_zcu.obj") or
6969 std.mem.endsWith(u8, file_name, ".zig"))
7070 {
7171 try buf.appendSlice("[main_file]");