-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Describe the bug
The previous release v1.13.5 builds on both AMD64 and ARM64.
However the new release v1.13.19 builds on AMD64, but fails to build on ARM64.
Input code
Config
Link to the code that reproduces this issue
Not applicable
SWC Info output
No response
Expected behavior
Previous release works on ARM64.
# yarn add @swc/[email protected]
➤ YN0000: · Yarn 4.10.3
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @swc/core@npm:1.13.5, @swc/core-darwin-arm64@npm:1.13.5, @swc/core-darwin-x64@npm:1.13.5, and 9 more.
➤ YN0000: └ Completed in 0s 460ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 3 packages were added to the project (+ 39.79 MiB).
➤ YN0000: └ Completed in 0s 980ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ @swc/core@npm:1.13.5 [89330] must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 0s 971ms
➤ YN0000: · Done with warnings in 2s 644ms
Actual behavior
New release fails on ARM64.
# yarn add @swc/[email protected]
➤ YN0000: · Yarn 4.10.3
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @swc/core@npm:1.13.19, @swc/core-darwin-arm64@npm:1.13.19, @swc/core-darwin-x64@npm:1.13.19, and 9 more.
➤ YN0000: └ Completed in 0s 486ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 3 packages were added to the project (+ 39.33 MiB).
➤ YN0000: └ Completed in 0s 955ms
➤ YN0000: ┌ Link step
➤ YN0000: │ ESM support for PnP uses the experimental loader API and is therefore experimental
➤ YN0007: │ @swc/core@npm:1.13.19 [89330] must be built because it never has been before or the last one failed
➤ YN0009: │ @swc/core@npm:1.13.19 [89330] couldn't be built successfully (exit code 129, logs can be found here: /tmp/xfs-56708825/build.log)
➤ YN0000: └ Completed in 2s 743ms
➤ YN0000: · Failed with errors in 4s 298ms
build.log
# This file contains the result of Yarn building a package (@swc/core@virtual:89330598b4331d00a5582adce1d8ee73be9a2882b577f43d7a976fd7250e3eaec26d0c4161dbd30caedfcf07a2aee7f328a717ea0bd55f08ad9927c8db05d9e6#npm:1.13.19)
# Script name: postinstall
Version
v1.13.19
Additional context
Yarn v4.10.3 with PnP
stuikomma, jaygooby, jurredejongh, mreinstein, sudo-hmmanshu and 8 moreCopilot and CvX