| ... | @@ -65,7 +65,7 @@ pub fn main() !void { | ... | @@ -65,7 +65,7 @@ pub fn main() !void { |
| 65 | // This actually violates the DWARF specification (DWARF5 § 3.1.1, lines 24-27). | 65 | // This actually violates the DWARF specification (DWARF5 § 3.1.1, lines 24-27). |
| 66 | // The self-hosted backend uses the root Zig source file of the module (in compilance with the spec). | 66 | // The self-hosted backend uses the root Zig source file of the module (in compilance with the spec). |
| 67 | if (std.mem.eql(u8, file_name, "test") or | 67 | 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 |
| 69 | std.mem.endsWith(u8, file_name, ".zig")) | 69 | std.mem.endsWith(u8, file_name, ".zig")) |
| 70 | { | 70 | { |
| 71 | try buf.appendSlice("[main_file]"); | 71 | try buf.appendSlice("[main_file]"); |