Skip to content
/ zig Public
forked from ziglang/zig

Commit

Permalink
Closes ziglang#20355: Enables dynamic linking for .os_tag == .other
Browse files Browse the repository at this point in the history
… again
  • Loading branch information
Felix "xq" Queißner authored and andrewrk committed Jun 21, 2024
1 parent 0d12cae commit 451550e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
};
}
Expand Down

0 comments on commit 451550e

Please sign in to comment.