Skip to content

Commit 01287a3

Browse files
jacobly0mlugg
authored andcommitted
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 ad355e0 commit 01287a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/check-stack-trace.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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]");

0 commit comments

Comments
 (0)