Unverified Commit 5563b4d7 authored by Benjamin Woodruff's avatar Benjamin Woodruff Committed by GitHub

Turbopack: Update rust toolchain to nightly-2026-02-18 (#89974)

Rust finally merged a fix to the "trying to encode a dep node twice" ICE we seem to most frequently run into, triggered by the rustc parallel frontend feature: https://github.com/rust-lang/rust/pull/151509

- @mischnic  commented on the issue: https://github.com/rust-lang/rust/issues/150018#issuecomment-3754877064
- @mischnic just updated our toolchain last week, but I'd like to get this fix in.

CI Job for build-and-release that covers all platforms: https://github.com/vercel/next.js/actions/runs/22156881743  
  
In the process of this upgrade, I found and reported https://github.com/rust-lang/rust/issues/152735 upstream (fixed `nightly-2026-02-18`).
parent 17a33208
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"dependsOn": { "dependsOn": {
"ghcr.io/devcontainers/features/rust:1": { "ghcr.io/devcontainers/features/rust:1": {
// this should match the `rust-toolchain.toml` // this should match the `rust-toolchain.toml`
"version": "nightly-2026-02-05", "version": "nightly-2026-02-18",
"profile": "minimal", "profile": "minimal",
"components": "rustfmt,clippy,rust-analyzer" "components": "rustfmt,clippy,rust-analyzer"
} }
......
# if you update this, also update `.devcontainer/rust/devcontainer-feature.json` # if you update this, also update `.devcontainer/rust/devcontainer-feature.json`
[toolchain] [toolchain]
channel = "nightly-2026-02-05" channel = "nightly-2026-02-18"
components = ["rustfmt", "clippy", "rust-analyzer"] components = ["rustfmt", "clippy", "rust-analyzer"]
profile = "minimal" profile = "minimal"
#![feature(min_specialization)] #![feature(min_specialization)]
#![feature(type_alias_impl_trait)] #![feature(type_alias_impl_trait)]
#![feature(assert_matches)]
#![feature(arbitrary_self_types)] #![feature(arbitrary_self_types)]
#![feature(arbitrary_self_types_pointers)] #![feature(arbitrary_self_types_pointers)]
#![feature(impl_trait_in_assoc_type)] #![feature(impl_trait_in_assoc_type)]
......
...@@ -56,10 +56,8 @@ fn maybe_decode_data_url(url: &str) -> Option<Rope> { ...@@ -56,10 +56,8 @@ fn maybe_decode_data_url(url: &str) -> Option<Rope> {
let data_b64 = if let Some(data) = url.strip_prefix(DATA_PREAMBLE) { let data_b64 = if let Some(data) = url.strip_prefix(DATA_PREAMBLE) {
data data
} else if let Some(data) = url.strip_prefix(DATA_PREAMBLE_CHARSET) {
data
} else { } else {
return None; url.strip_prefix(DATA_PREAMBLE_CHARSET)?
}; };
data_encoding::BASE64 data_encoding::BASE64
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment