authorgravatar for david@vortan.devDavid Rubin <david@vortan.dev> 2024-08-11 21:55:34-07:00
committergravatar for david@vortan.devDavid Rubin <david@vortan.dev> 2024-08-25 15:17:23-07:00
log9868ed44b31483b21236623e16e5a73b8c026a47
tree2ada46ffd2fe42da811ef5804226ed6b4cbfc459
parent889a324e774c77d77f75835352d1ae41381d3c31
signaturelock-open Commit is signed but in an unrecognized format.

macho: remove deprecated `Module` usages


1 files changed, 2 insertions(+), 4 deletions(-)

src/link/MachO.zig+2-4
......@@ -3026,7 +3026,7 @@ pub fn updateNavLineNumber(self: *MachO, pt: Zcu.PerThread, nav: InternPool.NavI
30263026pub fn updateExports(
30273027 self: *MachO,
30283028 pt: Zcu.PerThread,
3029 exported: Module.Exported,
3029 exported: Zcu.Exported,
30303030 export_indices: []const u32,
30313031) link.File.UpdateExportsError!void {
30323032 if (build_options.skip_non_native and builtin.object_format != .macho) {
......@@ -3060,7 +3060,7 @@ pub fn lowerUav(
30603060 pt: Zcu.PerThread,
30613061 uav: InternPool.Index,
30623062 explicit_alignment: InternPool.Alignment,
3063 src_loc: Module.LazySrcLoc,
3063 src_loc: Zcu.LazySrcLoc,
30643064) !codegen.GenResult {
30653065 return self.getZigObject().?.lowerUav(self, pt, uav, explicit_alignment, src_loc);
30663066}
......@@ -4634,8 +4634,6 @@ const Liveness = @import("../Liveness.zig");
46344634const LlvmObject = @import("../codegen/llvm.zig").Object;
46354635const Md5 = std.crypto.hash.Md5;
46364636const Zcu = @import("../Zcu.zig");
4637/// Deprecated.
4638const Module = Zcu;
46394637const InternPool = @import("../InternPool.zig");
46404638const Rebase = @import("MachO/dyld_info/Rebase.zig");
46414639pub const Relocation = @import("MachO/Relocation.zig");