Commit 4d2b216121

Jacob Young <jacobly0@users.noreply.github.com>
2025-06-11 03:57:46
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 parent ff89a98
Changed files (1)
test/src/check-stack-trace.zig
@@ -65,7 +65,7 @@ pub fn main() !void {
                 // This actually violates the DWARF specification (DWARF5 § 3.1.1, lines 24-27).
                 // The self-hosted backend uses the root Zig source file of the module (in compilance with the spec).
                 if (std.mem.eql(u8, file_name, "test") or
-                    std.mem.eql(u8, file_name, "test.exe.obj") or
+                    std.mem.eql(u8, file_name, "test_zcu.obj") or
                     std.mem.endsWith(u8, file_name, ".zig"))
                 {
                     try buf.appendSlice("[main_file]");