From 451550e86a1461e814da4eea22f78c6a77ab9308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20=22xq=22=20Quei=C3=9Fner?= Date: Fri, 21 Jun 2024 00:06:27 +0200 Subject: [PATCH] Closes #20355: Enables dynamic linking for `.os_tag == .other` again --- src/target.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target.zig b/src/target.zig index dccc91382b..1a12d741ed 100644 --- a/src/target.zig +++ b/src/target.zig @@ -8,7 +8,7 @@ pub const default_stack_protector_buffer_size = 4; pub fn cannotDynamicLink(target: std.Target) bool { return switch (target.os.tag) { - .freestanding, .other => true, + .freestanding => true, else => target.isSpirV(), }; }