authorgravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2024-06-26 22:01:00+02:00
committergravatar for kubkon@jakubkonka.comJakub Konka <kubkon@jakubkonka.com> 2024-06-26 22:01:00+02:00
log766e281a72bb915ebee21cafd862d6b7a2a298ca
treea29eadc1078a0aff35eab76754f575c602cf11db
parente9309036b28d402afd5f9f77d2d32e7d7b902b9f

macho: set allow_shlib_undefined to true when TSAN was requested


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

src/link/MachO.zig+1-1
......@@ -192,7 +192,7 @@ pub fn createEmpty(
192192 null
193193 else
194194 try std.fmt.allocPrint(arena, "{s}.o", .{emit.sub_path});
195 const allow_shlib_undefined = options.allow_shlib_undefined orelse false;
195 const allow_shlib_undefined = options.allow_shlib_undefined orelse comp.config.any_sanitize_thread;
196196
197197 const self = try arena.create(MachO);
198198 self.* = .{