From 9868ed44b31483b21236623e16e5a73b8c026a47 Mon Sep 17 00:00:00 2001 From: David Rubin Date: Sun, 11 Aug 2024 21:55:34 -0700 Subject: [PATCH] macho: remove deprecated `Module` usages --- src/link/MachO.zig | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/link/MachO.zig b/src/link/MachO.zig index d0e0d3d489..0a99a613c1 100644 --- a/src/link/MachO.zig +++ b/src/link/MachO.zig @@ -3026,7 +3026,7 @@ pub fn updateNavLineNumber(self: *MachO, pt: Zcu.PerThread, nav: InternPool.NavI pub fn updateExports( self: *MachO, pt: Zcu.PerThread, - exported: Module.Exported, + exported: Zcu.Exported, export_indices: []const u32, ) link.File.UpdateExportsError!void { if (build_options.skip_non_native and builtin.object_format != .macho) { @@ -3060,7 +3060,7 @@ pub fn lowerUav( pt: Zcu.PerThread, uav: InternPool.Index, explicit_alignment: InternPool.Alignment, - src_loc: Module.LazySrcLoc, + src_loc: Zcu.LazySrcLoc, ) !codegen.GenResult { return self.getZigObject().?.lowerUav(self, pt, uav, explicit_alignment, src_loc); } @@ -4634,8 +4634,6 @@ const Liveness = @import("../Liveness.zig"); const LlvmObject = @import("../codegen/llvm.zig").Object; const Md5 = std.crypto.hash.Md5; const Zcu = @import("../Zcu.zig"); -/// Deprecated. -const Module = Zcu; const InternPool = @import("../InternPool.zig"); const Rebase = @import("MachO/dyld_info/Rebase.zig"); pub const Relocation = @import("MachO/Relocation.zig");