mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
Fix ICE in build addAssemblyFile
This commit is contained in:
parent
0000de4fee
commit
c522699f28
1 changed files with 3 additions and 1 deletions
|
|
@ -1687,7 +1687,9 @@ pub const LibExeObjStep = struct {
|
|||
}
|
||||
|
||||
pub fn addAssemblyFile(self: *LibExeObjStep, path: []const u8) void {
|
||||
self.link_objects.append(LinkObject{ .AssemblyFile = self.builder.dupe(path) }) catch unreachable;
|
||||
self.link_objects.append(LinkObject{
|
||||
.AssemblyFile = .{ .path = self.builder.dupe(path) },
|
||||
}) catch unreachable;
|
||||
}
|
||||
|
||||
pub fn addAssemblyFileFromWriteFileStep(self: *LibExeObjStep, wfs: *WriteFileStep, basename: []const u8) void {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue