Skip to content

Commit ecc823d

Browse files
committed
Temporarily disable macOS x86_64 cross-compile target
Deno 2.6.x has a regression bug that causes cross-compilation to x86_64-apple-darwin to fail with "No such file or directory" error. Other cross-compile targets (Linux ARM64, macOS ARM64, Windows) work correctly. denoland/deno#31664 (comment)
1 parent 25ca494 commit ecc823d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/cli/scripts/pack.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ const triplets: Record<OS, Partial<Record<Arch, string>>> = {
1111
aarch64: "aarch64-unknown-linux-gnu",
1212
},
1313
macos: {
14-
x86_64: "x86_64-apple-darwin",
14+
// TODO: Temporarily disabled due to Deno cross-compile bug:
15+
// https://github.com/denoland/deno/issues/31664#issuecomment-3706946901
16+
// x86_64: "x86_64-apple-darwin",
1517
aarch64: "aarch64-apple-darwin",
1618
},
1719
windows: {

0 commit comments

Comments
 (0)