Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
3e11c728
Unverified
Commit
3e11c728
authored
Jul 07, 2026
by
Niklas Mischkulnig
Committed by
GitHub
Jul 07, 2026
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade to swc 72 and rust-react-compiler (#95536)
Fixes #95257 Fixes #95372
parent
b6ebce52
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
192 additions
and
185 deletions
+192
-185
Cargo.lock
Cargo.lock
+153
-146
Cargo.toml
Cargo.toml
+13
-13
graph-explained.snapshot
...cript/tests/analyzer/graph/arrow/graph-explained.snapshot
+3
-3
graph.snapshot
...pack-ecmascript/tests/analyzer/graph/arrow/graph.snapshot
+13
-13
resolved-explained.snapshot
...pt/tests/analyzer/graph/arrow/resolved-explained.snapshot
+3
-3
graph-effects.snapshot
...t/tests/analyzer/graph/issue-75938/graph-effects.snapshot
+1
-1
graph-effects.snapshot
...t/tests/analyzer/graph/issue-77126/graph-effects.snapshot
+1
-1
graph-effects.snapshot
...analyzer/graph/webpack-target-node/graph-effects.snapshot
+5
-5
No files found.
Cargo.lock
View file @
3e11c728
This diff is collapsed.
Click to expand it.
Cargo.toml
View file @
3e11c728
...
@@ -209,30 +209,30 @@ turbopack-trace-server = { path = "turbopack/crates/turbopack-trace-server" }
...
@@ -209,30 +209,30 @@ turbopack-trace-server = { path = "turbopack/crates/turbopack-trace-server" }
turbopack-trace-utils
=
{
path
=
"turbopack/crates/turbopack-trace-utils"
}
turbopack-trace-utils
=
{
path
=
"turbopack/crates/turbopack-trace-utils"
}
turbopack-wasm
=
{
path
=
"turbopack/crates/turbopack-wasm"
}
turbopack-wasm
=
{
path
=
"turbopack/crates/turbopack-wasm"
}
swc_ecma_react_compiler
=
"
19.1.2
"
swc_ecma_react_compiler
=
"
20.1.0
"
react_compiler
=
{
version
=
"0.
1.5
"
,
package
=
"forked_react_compiler"
}
react_compiler
=
{
version
=
"0.
2
"
,
package
=
"forked_react_compiler"
}
# SWC crates
# SWC crates
swc_core
=
{
version
=
"
69
.0.0"
,
default-features
=
false
,
features
=
[
swc_core
=
{
version
=
"
72
.0.0"
,
default-features
=
false
,
features
=
[
"ecma_loader_lru"
,
"ecma_loader_lru"
,
"ecma_loader_parking_lot"
,
"ecma_loader_parking_lot"
,
"parallel_rayon"
,
"parallel_rayon"
,
]
}
]
}
swc_plugin_backend_wasmtime
=
"1
1
.0.0"
swc_plugin_backend_wasmtime
=
"1
2
.0.0"
testing
=
"24.0.
0
"
testing
=
"24.0.
1
"
# Keep consistent with preset_env_base through swc_core
# Keep consistent with preset_env_base through swc_core
browserslist-rs
=
"0.19.0"
browserslist-rs
=
"0.19.0"
mdxjs
=
"1.0.3"
mdxjs
=
"1.0.3"
modularize_imports
=
"
9
.0.0"
modularize_imports
=
"
12
.0.0"
styled_components
=
"
9
.0.0"
styled_components
=
"
12
.0.0"
styled_jsx
=
"
9
.0.0"
styled_jsx
=
"
12
.0.0"
swc_emotion
=
"
9
.0.0"
swc_emotion
=
"
12
.0.0"
swc_relay
=
"
9
.0.0"
swc_relay
=
"
12
.0.0"
react_remove_properties
=
"
9
.0.0"
react_remove_properties
=
"
12
.0.0"
remove_console
=
"
9
.0.0"
remove_console
=
"
12
.0.0"
preset_env_base
=
"8.0.
0
"
preset_env_base
=
"8.0.
1
"
# General Deps
# General Deps
...
...
turbopack/crates/turbopack-ecmascript/tests/analyzer/graph/arrow/graph-explained.snapshot
View file @
3e11c728
...
@@ -28,7 +28,7 @@ d (const after eval) = *arrow function 83*
...
@@ -28,7 +28,7 @@ d (const after eval) = *arrow function 83*
e#2 (const after eval) = *anonymous function 116*
e#2 (const after eval) = *anonymous function 116*
e#
6
(const after eval) = (...) => 4
e#
8
(const after eval) = (...) => 4
f (const after eval) = e
f (const after eval) = e
...
@@ -42,8 +42,8 @@ xc = *arrow function 259*
...
@@ -42,8 +42,8 @@ xc = *arrow function 259*
xd = *arrow function 299*
xd = *arrow function 299*
xe#1
2 = (...) => 4
xe#1
0 = *anonymous function 339*
xe#
8 = *anonymous function 339*
xe#
16 = (...) => 4
xf = xe
xf = xe
turbopack/crates/turbopack-ecmascript/tests/analyzer/graph/arrow/graph.snapshot
View file @
3e11c728
...
@@ -185,7 +185,7 @@
...
@@ -185,7 +185,7 @@
),
),
),
),
(
(
"e#
6
",
"e#
8
",
Function(
Function(
2,
2,
155,
155,
...
@@ -203,7 +203,7 @@
...
@@ -203,7 +203,7 @@
Variable(
Variable(
(
(
"e",
"e",
#
6
,
#
8
,
),
),
),
),
),
),
...
@@ -254,7 +254,16 @@
...
@@ -254,7 +254,16 @@
),
),
),
),
(
(
"xe#12",
"xe#10",
Variable(
(
"*anonymous function 339*",
#0,
),
),
),
(
"xe#16",
Function(
Function(
2,
2,
385,
385,
...
@@ -267,21 +276,12 @@
...
@@ -267,21 +276,12 @@
),
),
),
),
),
),
(
"xe#8",
Variable(
(
"*anonymous function 339*",
#0,
),
),
),
(
(
"xf",
"xf",
Variable(
Variable(
(
(
"xe",
"xe",
#1
2
,
#1
6
,
),
),
),
),
),
),
...
...
turbopack/crates/turbopack-ecmascript/tests/analyzer/graph/arrow/resolved-explained.snapshot
View file @
3e11c728
...
@@ -28,7 +28,7 @@ d = (...) => 2
...
@@ -28,7 +28,7 @@ d = (...) => 2
e#2 = (...) => 3
e#2 = (...) => 3
e#
6
= (...) => 4
e#
8
= (...) => 4
f = (...) => 4
f = (...) => 4
...
@@ -42,8 +42,8 @@ xc = (...) => 1
...
@@ -42,8 +42,8 @@ xc = (...) => 1
xd = (...) => 2
xd = (...) => 2
xe#1
2 = (...) => 4
xe#1
0 = (...) => 3
xe#
8 = (...) => 3
xe#
16 = (...) => 4
xf = (...) => 4
xf = (...) => 4
turbopack/crates/turbopack-ecmascript/tests/analyzer/graph/issue-75938/graph-effects.snapshot
View file @
3e11c728
...
@@ -1300,7 +1300,7 @@
...
@@ -1300,7 +1300,7 @@
func: Variable(
func: Variable(
(
(
"cb",
"cb",
#
6
,
#
8
,
),
),
),
),
args: [],
args: [],
...
...
turbopack/crates/turbopack-ecmascript/tests/analyzer/graph/issue-77126/graph-effects.snapshot
View file @
3e11c728
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
condition: Variable(
condition: Variable(
(
(
"x",
"x",
#
3
,
#
4
,
),
),
),
),
kind: IfElse {
kind: IfElse {
...
...
turbopack/crates/turbopack-ecmascript/tests/analyzer/graph/webpack-target-node/graph-effects.snapshot
View file @
3e11c728
...
@@ -1334,7 +1334,7 @@
...
@@ -1334,7 +1334,7 @@
Variable(
Variable(
(
(
"res",
"res",
#
5
,
#
6
,
),
),
),
),
Constant(
Constant(
...
@@ -1490,7 +1490,7 @@
...
@@ -1490,7 +1490,7 @@
obj: Variable(
obj: Variable(
(
(
"res",
"res",
#
5
,
#
6
,
),
),
),
),
prop: Constant(
prop: Constant(
...
@@ -1644,7 +1644,7 @@
...
@@ -1644,7 +1644,7 @@
obj: Variable(
obj: Variable(
(
(
"res",
"res",
#
5
,
#
6
,
),
),
),
),
prop: Constant(
prop: Constant(
...
@@ -1804,7 +1804,7 @@
...
@@ -1804,7 +1804,7 @@
Variable(
Variable(
(
(
"res",
"res",
#
5
,
#
6
,
),
),
),
),
Constant(
Constant(
...
@@ -1862,7 +1862,7 @@
...
@@ -1862,7 +1862,7 @@
Variable(
Variable(
(
(
"hello",
"hello",
#
5
,
#
6
,
),
),
),
),
),
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment