authorgravatar for xq@random-projects.netFelix "xq" Queißner <xq@random-projects.net> 2024-06-21 00:06:27+02:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-06-21 00:12:44-04:00
log451550e86a1461e814da4eea22f78c6a77ab9308
treee71331eeddacfbc199417341aa43284f43a7a8ea
parent0d12caee293aff07718053fce95acc6e30957ef3

Closes #20355: Enables dynamic linking for `.os_tag == .other` again


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

src/target.zig+1-1
...@@ -8,7 +8,7 @@ pub const default_stack_protector_buffer_size = 4;...@@ -8,7 +8,7 @@ pub const default_stack_protector_buffer_size = 4;
88
9pub fn cannotDynamicLink(target: std.Target) bool {9pub fn cannotDynamicLink(target: std.Target) bool {
10 return switch (target.os.tag) {10 return switch (target.os.tag) {
11 .freestanding, .other => true,11 .freestanding => true,
12 else => target.isSpirV(),12 else => target.isSpirV(),
13 };13 };
14}14}