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
b39ae62a
Unverified
Commit
b39ae62a
authored
Jun 01, 2024
by
Will Binns-Smith
Committed by
GitHub
Jun 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update rust toolchain to nightly-2024-05-31 (#66428)
Depends on
https://github.com/vercel/turbo/pull/8256
parent
1e63f5b3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
45 additions
and
44 deletions
+45
-44
Cargo.lock
Cargo.lock
+37
-37
Cargo.toml
Cargo.toml
+6
-5
util.rs
packages/next-swc/crates/next-core/src/next_font/util.rs
+1
-1
rust-toolchain.toml
rust-toolchain.toml
+1
-1
No files found.
Cargo.lock
View file @
b39ae62a
This diff is collapsed.
Click to expand it.
Cargo.toml
View file @
b39ae62a
...
@@ -37,11 +37,11 @@ swc_core = { version = "0.92.5", features = [
...
@@ -37,11 +37,11 @@ swc_core = { version = "0.92.5", features = [
testing
=
{
version
=
"0.35.25"
}
testing
=
{
version
=
"0.35.25"
}
# Turbo crates
# Turbo crates
turbopack-binding
=
{
git
=
"https://github.com/vercel/turbo.git"
,
tag
=
"turbopack-2405
28
.2"
}
turbopack-binding
=
{
git
=
"https://github.com/vercel/turbo.git"
,
tag
=
"turbopack-2405
31
.2"
}
# [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros..
# [TODO]: need to refactor embed_directory! macro usages, as well as resolving turbo_tasks::function, macros..
turbo-tasks
=
{
git
=
"https://github.com/vercel/turbo.git"
,
tag
=
"turbopack-2405
28
.2"
}
turbo-tasks
=
{
git
=
"https://github.com/vercel/turbo.git"
,
tag
=
"turbopack-2405
31
.2"
}
# [TODO]: need to refactor embed_directory! macro usage in next-core
# [TODO]: need to refactor embed_directory! macro usage in next-core
turbo-tasks-fs
=
{
git
=
"https://github.com/vercel/turbo.git"
,
tag
=
"turbopack-2405
28
.2"
}
turbo-tasks-fs
=
{
git
=
"https://github.com/vercel/turbo.git"
,
tag
=
"turbopack-2405
31
.2"
}
# General Deps
# General Deps
...
@@ -59,7 +59,7 @@ chromiumoxide = { version = "0.5.0", features = [
...
@@ -59,7 +59,7 @@ chromiumoxide = { version = "0.5.0", features = [
tungstenite
=
"0.18.0"
tungstenite
=
"0.18.0"
# flate2_zlib requires zlib, use flate2_rust
# flate2_zlib requires zlib, use flate2_rust
allsorts
=
{
version
=
"0.14.0"
,
default
_
features
=
false
,
features
=
[
allsorts
=
{
version
=
"0.14.0"
,
default
-
features
=
false
,
features
=
[
"outline"
,
"outline"
,
"flate2_rust"
,
"flate2_rust"
,
]
}
]
}
...
@@ -141,4 +141,5 @@ dhat = { version = "0.3.2" }
...
@@ -141,4 +141,5 @@ dhat = { version = "0.3.2" }
# Sync with the entries in turbo's Cargo.toml
# Sync with the entries in turbo's Cargo.toml
[patch.crates-io]
[patch.crates-io]
pathfinder_simd
=
{
git
=
"https://github.com/servo/pathfinder"
,
rev
=
"30419d"
}
# TODO: Use upstream when https://github.com/servo/pathfinder/pull/566 lands
pathfinder_simd
=
{
git
=
"https://github.com/vercel/pathfinder"
,
branch
=
"rm-stdarch_arm_crc32"
}
packages/next-swc/crates/next-core/src/next_font/util.rs
View file @
b39ae62a
...
@@ -60,7 +60,7 @@ pub(crate) async fn get_scoped_font_family(
...
@@ -60,7 +60,7 @@ pub(crate) async fn get_scoped_font_family(
FontFamilyType
::
Fallback
=>
format!
(
"{} Fallback"
,
font_family_base
),
FontFamilyType
::
Fallback
=>
format!
(
"{} Fallback"
,
font_family_base
),
};
};
Ok
(
Vc
::
cell
(
fo
rmat!
(
"{}"
,
font_family_name
)
))
Ok
(
Vc
::
cell
(
fo
nt_family_name
))
}
}
/// Returns a [Vc] for [String] uniquely identifying the request for the font.
/// Returns a [Vc] for [String] uniquely identifying the request for the font.
...
...
rust-toolchain.toml
View file @
b39ae62a
[toolchain]
[toolchain]
channel
=
"nightly-2024-0
4-03
"
channel
=
"nightly-2024-0
5-31
"
components
=
[
"rustfmt"
,
"clippy"
]
components
=
[
"rustfmt"
,
"clippy"
]
profile
=
"minimal"
profile
=
"minimal"
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