mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
macho: remove todo from getMatchingSectionDecl
This commit is contained in:
parent
c5ee73f65b
commit
e945619728
@ -3741,7 +3741,7 @@ fn getMatchingSectionDecl(self: *MachO, decl: *Module.Decl) !MatchingSection {
|
||||
.segname = makeStaticString("__DATA_CONST"),
|
||||
.sectname = makeStaticString("__const"),
|
||||
.size = code.len,
|
||||
.@"align" = 3, // TODO I think this should not be needed
|
||||
.@"align" = align_log_2,
|
||||
})).?;
|
||||
} else {
|
||||
break :blk (try self.getMatchingSection(.{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user