Skip to content

Commit 36d962f

Browse files
committed
docs(pack-app): correct Rosetta direction in darwin-x64 fallback note
Rosetta translates x64 -> arm64 for Apple Silicon, not arm64 -> x64, so Intel Macs cannot run a darwin-arm64 build under Rosetta.
1 parent 91f4563 commit 36d962f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/cli/pack-app.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Tracking:
4848
* [nodejs/node#59553](https://github.com/nodejs/node/issues/59553) — long-running SEA test failures on macOS x64 with the same root cause
4949
* [nodejs/node#60250](https://github.com/nodejs/node/pull/60250) — Node.js skipping the SEA tests on x64 macOS rather than fixing them
5050

51-
If you need to ship a CLI that runs on Intel Macs, build the `darwin-x64` artifact with a non-SEA tool such as [`@yao-pkg/pkg`](https://github.com/yao-pkg/pkg) (which appends to the binary tail rather than mutating Mach-O sections), or skip the target and direct users to the `darwin-arm64` build under Rosetta.
51+
If you need to ship a CLI that runs on Intel Macs, build the `darwin-x64` artifact with a non-SEA tool such as [`@yao-pkg/pkg`](https://github.com/yao-pkg/pkg) (which appends to the binary tail rather than mutating Mach-O sections). Note that Rosetta is *not* an escape hatch — it only translates x64 → arm64 (for Apple Silicon Macs running Intel binaries), not the other direction, so Intel Macs cannot run a `darwin-arm64` build.
5252

5353
## Examples
5454

0 commit comments

Comments
 (0)