mirror of
https://github.com/ziglang/zig.git
synced 2026-02-16 14:28:57 +00:00
Fix ICE in build addAssemblyFile
This commit is contained in:
parent
0000de4fee
commit
c522699f28
@ -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…
x
Reference in New Issue
Block a user