diff options
Diffstat (limited to 'test/src/check-stack-trace.zig')
| -rw-r--r-- | test/src/check-stack-trace.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/src/check-stack-trace.zig b/test/src/check-stack-trace.zig index fccbbe3609..43800086af 100644 --- a/test/src/check-stack-trace.zig +++ b/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]"); |
