Skip to content

Update toolchain 2025-10-24, rustc 1.92.0#543

Open
Firestar99 wants to merge 12 commits intomainfrom
update-toolchain-2025-10-24
Open

Update toolchain 2025-10-24, rustc 1.92.0#543
Firestar99 wants to merge 12 commits intomainfrom
update-toolchain-2025-10-24

Conversation

@Firestar99
Copy link
Member

@Firestar99 Firestar99 commented Feb 26, 2026

Requires #508

Note on cargo-gpu: Branch Rust-GPU/cargo-gpu#142 is required to use this PR

Upgrade the toolchain to nightly-2025-10-24, which is the branch day of rustc 1.92.0. This toolchain upgrade is important for people not using cargo-gpu and wanting to use wgpu v28.0.0, which has an MSRV of 1.92.0.

This branch based on #508 by @fee1-dead, but rebased on main (to resolve conflicts with this branch). Extra thank you for figuring out the MaybeUninit::uninit change that broke rust-gpu, which enabled this upgrade. Then I extracted the "first" toolchain upgrade to nightly-2025-11-02 from PR #460 by @dvdplm, lowered the toolchain back down to nightly-2025-10-24, and cleaned it up a bit.

The next toolchain upgrades based on this branch are:

Tested on: nanite-at-home, ReSTIR, abundance

close #405

nnethercote and others added 9 commits February 26, 2026 14:12
- We now get warnings about unnecessary parentheses around `dyn` types.
- Spelling of `sf.name.prefer_remapped_unconditionaly` was fixed (now
  ends in `lly`).
- `Pointer::into_parts` has been replaced with
  `Pointer::prov_and_relative_offset`.
- `BuilderMethods::dynamic_alloca` was removed.
- `TargetDataLayout::pointer_{size,align}` were changed from fields to
  methods.
- `AddressSpace::DATA` was renamed `AddressSpace::ZERO`.
- `run_fat_lto`, `optimize_fat`, and `autodiff` were merged into
  `run_and_optimize_fat_lto`, and the parameters were changed.
- `run_thin_lto` parameters were changed.
- `codegen` parameters were changed.
- `LtoModuleCodegen` was removed.
- Minor error message changes:
  - Some line number changes in rustc.
  - Some error message wording tweaks.

The LTO changes occurred in rust-lang/rust PR 143388 and PR 144062.
- `tcx.get_attrs_unchecked(...)` was replaced with
  `tcx.get_all_attrs(...)`.
- `run_link` has been removed.
- `BuilderMethods::tail_call` was added. It's currently `todo!()`.
- Adjust expected test outputs for very minor error message formatting
  changes.
- And update to glam 0.30.8.
@Firestar99 Firestar99 force-pushed the update-toolchain-2025-10-24 branch from 66788d4 to cb8632c Compare February 26, 2026 16:44
@Firestar99 Firestar99 marked this pull request as ready for review February 26, 2026 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Rust toolchain

4 participants