Skip to content

Commit 6ba4290

Browse files
authored
build: Update swc_core to v24.0.0 (#79103)
### What? Retry of #79092 The latest build: https://github.com/vercel/next.js/actions/runs/15001005940 --- Update swc_core to v24.0.0. ChangeLog: swc-project/swc@swc_core@v23.1.0...swc_core@v24.0.0 ### Why? To apply - swc-project/swc#10452 - Fix for `jest` - swc-project/plugins#451 - Fix for debug assertions ### How? - Closes SWC-652 - Closes PACK-4376
1 parent de89c8c commit 6ba4290

File tree

8 files changed

+521
-210
lines changed

8 files changed

+521
-210
lines changed

.cargo/config.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ rustflags = [
3434
"target-feature=+crt-static"
3535
]
3636

37-
[target.'cfg(target_os = "macos")']
38-
linker = "rust-lld"
39-
4037
[target.'cfg(all(target_os = "linux", target_env = "gnu"))']
4138
rustflags = [
4239
"--cfg",

.github/workflows/build_and_deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ env:
1515
CARGO_PROFILE_RELEASE_LTO: 'true'
1616
TURBO_TEAM: 'vercel'
1717
TURBO_CACHE: 'remote:rw'
18+
# Without this environment variable, rust-lld will fail because some dependencies defaults to newer version of macOS by default.
19+
#
20+
# See https://doc.rust-lang.org/rustc/platform-support/apple-darwin.html#os-version for more details
21+
MACOSX_DEPLOYMENT_TARGET: 11.0
1822

1923
jobs:
2024
deploy-target:

.github/workflows/build_reusable.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,6 @@ env:
9797
NEXT_TEST_PREFER_OFFLINE: 1
9898
NEXT_CI_RUNNER: ${{ inputs.runs_on_labels }}
9999

100-
# Without this environment variable, rust-lld will fail because some dependencies defaults to newer version of macOS by default.
101-
#
102-
# See https://doc.rust-lang.org/rustc/platform-support/apple-darwin.html#os-version for more details
103-
MACOSX_DEPLOYMENT_TARGET: 11.0
104-
105100
jobs:
106101
build:
107102
timeout-minutes: ${{ inputs.timeout_minutes }}

0 commit comments

Comments
 (0)