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
8def0c84
Unverified
Commit
8def0c84
authored
Aug 17, 2023
by
Justin Ridgewell
Committed by
GitHub
Aug 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update rust toolchain (#54130)
The current toolchain is very buggy. Closes WEB-1400
parent
3fadba5a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
6 deletions
+5
-6
config.toml
.cargo/config.toml
+4
-0
app_source.rs
packages/next-swc/crates/next-core/src/app_source.rs
+0
-4
lib.rs
packages/next-swc/crates/next-dev/src/lib.rs
+0
-1
rust-toolchain
rust-toolchain
+1
-1
No files found.
.cargo/config.toml
View file @
8def0c84
...
@@ -32,4 +32,8 @@ rustflags = [
...
@@ -32,4 +32,8 @@ rustflags = [
"-Zshare-generics=y"
,
"-Zshare-generics=y"
,
"-Csymbol-mangling-version=v0"
,
"-Csymbol-mangling-version=v0"
,
"-Aclippy::too_many_arguments"
,
"-Aclippy::too_many_arguments"
,
# Clippy's needless mut lint is buggy: https://github.com/rust-lang/rust-clippy/issues/11299
"-Aclippy::needless_pass_by_ref_mut"
,
# Clippy's partial_eq lint is buggy: https://github.com/rust-lang/rust-clippy/issues/11178
"-Aclippy::incorrect_partial_ord_impl_on_ord_type"
,
]
]
packages/next-swc/crates/next-core/src/app_source.rs
View file @
8def0c84
...
@@ -427,7 +427,6 @@ fn next_edge_page_transition(
...
@@ -427,7 +427,6 @@ fn next_edge_page_transition(
)
)
}
}
#[allow(clippy
::
too_many_arguments)]
#[turbo_tasks
::
function]
#[turbo_tasks
::
function]
fn
app_context
(
fn
app_context
(
project_path
:
Vc
<
FileSystemPath
>
,
project_path
:
Vc
<
FileSystemPath
>
,
...
@@ -768,7 +767,6 @@ async fn create_global_metadata_source(
...
@@ -768,7 +767,6 @@ async fn create_global_metadata_source(
Ok
(
Vc
::
upcast
(
CombinedContentSource
{
sources
}
.cell
()))
Ok
(
Vc
::
upcast
(
CombinedContentSource
{
sources
}
.cell
()))
}
}
#[allow(clippy
::
too_many_arguments)]
#[turbo_tasks
::
function]
#[turbo_tasks
::
function]
async
fn
create_app_page_source_for_route
(
async
fn
create_app_page_source_for_route
(
pathname
:
String
,
pathname
:
String
,
...
@@ -819,7 +817,6 @@ async fn create_app_page_source_for_route(
...
@@ -819,7 +817,6 @@ async fn create_app_page_source_for_route(
Ok
(
source
.issue_file_path
(
app_dir
,
format!
(
"Next.js App Page Route {pathname}"
)))
Ok
(
source
.issue_file_path
(
app_dir
,
format!
(
"Next.js App Page Route {pathname}"
)))
}
}
#[allow(clippy
::
too_many_arguments)]
#[turbo_tasks
::
function]
#[turbo_tasks
::
function]
async
fn
create_app_not_found_page_source
(
async
fn
create_app_not_found_page_source
(
loader_tree
:
Vc
<
LoaderTree
>
,
loader_tree
:
Vc
<
LoaderTree
>
,
...
@@ -865,7 +862,6 @@ async fn create_app_not_found_page_source(
...
@@ -865,7 +862,6 @@ async fn create_app_not_found_page_source(
Ok
(
source
.issue_file_path
(
app_dir
,
"Next.js App Page Route /404"
.to_string
()))
Ok
(
source
.issue_file_path
(
app_dir
,
"Next.js App Page Route /404"
.to_string
()))
}
}
#[allow(clippy
::
too_many_arguments)]
#[turbo_tasks
::
function]
#[turbo_tasks
::
function]
async
fn
create_app_route_source_for_route
(
async
fn
create_app_route_source_for_route
(
pathname
:
String
,
pathname
:
String
,
...
...
packages/next-swc/crates/next-dev/src/lib.rs
View file @
8def0c84
...
@@ -294,7 +294,6 @@ async fn server_env(
...
@@ -294,7 +294,6 @@ async fn server_env(
Ok
(
Vc
::
upcast
(
CustomProcessEnv
::
new
(
env
,
Vc
::
cell
(
map
))))
Ok
(
Vc
::
upcast
(
CustomProcessEnv
::
new
(
env
,
Vc
::
cell
(
map
))))
}
}
#[allow(clippy
::
too_many_arguments)]
#[turbo_tasks
::
function]
#[turbo_tasks
::
function]
async
fn
source
(
async
fn
source
(
root_dir
:
String
,
root_dir
:
String
,
...
...
rust-toolchain
View file @
8def0c84
nightly-2023-07-03
nightly-2023-07-21
\ No newline at end of file
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