Skip to content

Commit

Permalink
Leverage isWasm()
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Apr 28, 2024
1 parent 8488093 commit 3c75253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub fn build(b: *std.Build) !void {
}

for (libs.items) |lib| {
if (lib.isDynamicLibrary() and !(target.result.cpu.arch == .wasm32 or target.result.cpu.arch == .wasm64 or
if (lib.isDynamicLibrary() and !(target.result.isWasm() or
target.result.isDarwin() or target.result.isBSD() or
target.result.isGnu() or target.result.isMusl() or target.result.isMinGW()))
{
Expand Down

0 comments on commit 3c75253

Please sign in to comment.