target.result.isWasm() -> target.result.cpu.arch.isWasm()

This commit is contained in:
Frank Denis 2025-02-20 14:53:08 +01:00
parent ea2d5b11dc
commit 8ee7c45005

View File

@ -157,7 +157,7 @@ pub fn build(b: *std.Build) !void {
const build_tests = b.option(bool, "test", "Build the tests (implies -Dstatic=true)") orelse true;
if (target.result.isWasm()) {
if (target.result.cpu.arch.isWasm()) {
build_shared = false;
}
if (build_tests) {