We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05a5de8 commit b0f3383Copy full SHA for b0f3383
scripts/build_skia.ts
@@ -83,8 +83,8 @@ if (Deno.build.os === "windows") {
83
'"-DSK_SHAPER_HARFBUZZ_AVAILABLE"';
84
85
const targetArm64 = Deno.env.get("TARGET_ARM64") === "1";
86
- const isMacArm64 = Deno.build.os === "darwin" && Deno.build.arch === "aarch64";
87
- if (isMacArm64 || targetArm64) {
+ const m1 = Deno.build.os === "darwin" && Deno.build.arch === "aarch64";
+ if (m1 || targetArm64) {
88
BUILD_ARGS["target_cpu"] = `"arm64"`;
89
BUILD_ARGS["target_os"] = `"mac"`;
90
BUILD_ARGS["extra_cflags_cc"] += ', "--target=arm64-apple-macos"';
0 commit comments