Skip to content

Commit 330c5b1

Browse files
committed
target.result.isWasm() -> target.result.cpu.arch.isWasm()
1 parent 2202904 commit 330c5b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ pub fn build(b: *std.Build) !void {
157157

158158
const build_tests = b.option(bool, "test", "Build the tests (implies -Dstatic=true)") orelse true;
159159

160-
if (target.result.isWasm()) {
160+
if (target.result.cpu.arch.isWasm()) {
161161
build_shared = false;
162162
}
163163
if (build_tests) {

0 commit comments

Comments
 (0)