| ... | @@ -964,18 +964,6 @@ fn linkWithZld(self: *MachO, comp: *Compilation) !void { | ... | @@ -964,18 +964,6 @@ fn linkWithZld(self: *MachO, comp: *Compilation) !void { |
| 964 | } | 964 | } |
| 965 | } | 965 | } |
| 966 | | 966 | |
| 967 | fn darwinArchString(arch: std.Target.Cpu.Arch) []const u8 { | | |
| 968 | return switch (arch) { | | |
| 969 | .aarch64, .aarch64_be, .aarch64_32 => "arm64", | | |
| 970 | .thumb, .arm => "arm", | | |
| 971 | .thumbeb, .armeb => "armeb", | | |
| 972 | .powerpc => "ppc", | | |
| 973 | .powerpc64 => "ppc64", | | |
| 974 | .powerpc64le => "ppc64le", | | |
| 975 | else => @tagName(arch), | | |
| 976 | }; | | |
| 977 | } | | |
| 978 | | | |
| 979 | pub fn deinit(self: *MachO) void { | 967 | pub fn deinit(self: *MachO) void { |
| 980 | if (self.d_sym) |*ds| { | 968 | if (self.d_sym) |*ds| { |
| 981 | ds.deinit(self.base.allocator); | 969 | ds.deinit(self.base.allocator); |