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...@@ -3026,7 +3026,7 @@ pub fn updateNavLineNumber(self: *MachO, pt: Zcu.PerThread, nav: InternPool.NavI
3026pub fn updateExports(3026pub fn updateExports(
3027 self: *MachO,3027 self: *MachO,
3028 pt: Zcu.PerThread,3028 pt: Zcu.PerThread,
3029 exported: Module.Exported,3029 exported: Zcu.Exported,
3030 export_indices: []const u32,3030 export_indices: []const u32,
3031) link.File.UpdateExportsError!void {3031) link.File.UpdateExportsError!void {
3032 if (build_options.skip_non_native and builtin.object_format != .macho) {3032 if (build_options.skip_non_native and builtin.object_format != .macho) {
...@@ -3060,7 +3060,7 @@ pub fn lowerUav(...@@ -3060,7 +3060,7 @@ pub fn lowerUav(
3060 pt: Zcu.PerThread,3060 pt: Zcu.PerThread,
3061 uav: InternPool.Index,3061 uav: InternPool.Index,
3062 explicit_alignment: InternPool.Alignment,3062 explicit_alignment: InternPool.Alignment,
3063 src_loc: Module.LazySrcLoc,3063 src_loc: Zcu.LazySrcLoc,
3064) !codegen.GenResult {3064) !codegen.GenResult {
3065 return self.getZigObject().?.lowerUav(self, pt, uav, explicit_alignment, src_loc);3065 return self.getZigObject().?.lowerUav(self, pt, uav, explicit_alignment, src_loc);
3066}3066}
...@@ -4634,8 +4634,6 @@ const Liveness = @import("../Liveness.zig");...@@ -4634,8 +4634,6 @@ const Liveness = @import("../Liveness.zig");
4634const LlvmObject = @import("../codegen/llvm.zig").Object;4634const LlvmObject = @import("../codegen/llvm.zig").Object;
4635const Md5 = std.crypto.hash.Md5;4635const Md5 = std.crypto.hash.Md5;
4636const Zcu = @import("../Zcu.zig");4636const Zcu = @import("../Zcu.zig");
4637/// Deprecated.
4638const Module = Zcu;
4639const InternPool = @import("../InternPool.zig");4637const InternPool = @import("../InternPool.zig");
4640const Rebase = @import("MachO/dyld_info/Rebase.zig");4638const Rebase = @import("MachO/dyld_info/Rebase.zig");
4641pub const Relocation = @import("MachO/Relocation.zig");4639pub const Relocation = @import("MachO/Relocation.zig");