Skip to content

Commit 6ceaa02

Browse files
userFRMclaude
andauthored
fix: drop x86_64-apple-darwin release target (macos-13 deprecated) (#81)
GitHub removed macos-13 runners. Cross-compiling x86_64 from ARM64 macOS fails on OpenSSL. Intel Macs run ARM64 binaries via Rosetta 2, so the aarch64-apple-darwin binary works on both. Updated install.js to map darwin/x64 to the ARM64 binary. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ff0fbba commit 6ceaa02

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ jobs:
2121
include:
2222
- target: aarch64-apple-darwin
2323
os: macos-latest
24-
- target: x86_64-apple-darwin
25-
os: macos-13
2624
- target: x86_64-unknown-linux-gnu
2725
os: ubuntu-latest
2826
- target: x86_64-pc-windows-msvc

npm/install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function getTarget() {
1515
const arch = process.arch;
1616

1717
if (platform === "darwin" && arch === "arm64") return "aarch64-apple-darwin";
18-
if (platform === "darwin" && arch === "x64") return "x86_64-apple-darwin";
18+
if (platform === "darwin" && arch === "x64") return "aarch64-apple-darwin"; // Rosetta 2 runs ARM64 binaries on Intel Macs
1919
if (platform === "linux" && arch === "x64") return "x86_64-unknown-linux-gnu";
2020
if (platform === "linux" && arch === "arm64") return "aarch64-unknown-linux-gnu";
2121
if (platform === "win32" && arch === "x64") return "x86_64-pc-windows-msvc";

0 commit comments

Comments
 (0)