mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
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.
This commit is contained in:
parent
ff89a98c50
commit
4d2b216121
@ -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]");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user