Skip to content

rustup: update to nightly-2025-06-23 (~1.89). #320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 9, 2025

Conversation

eddyb
Copy link
Collaborator

@eddyb eddyb commented Jul 4, 2025

Not much to see this time, other than:

  • some more format_args! complications (less efficient codegen for some reason)
  • -Zshare-generics=off now being needed (because of weird special-casing done to compiler-builtins otherwise leaking to shader crates, via e.g. <Range<usize> as Iterator>>:next)
  • a couple bulk Clippy-driven changes (esp. clippy::collapsible_if, it's surprisingly applicable)

@eddyb eddyb marked this pull request as ready for review July 9, 2025 20:43
@eddyb eddyb enabled auto-merge July 9, 2025 20:43
Copy link
Collaborator

@LegNeato LegNeato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see anything obvious but admittedly am not qualified to review this.

let align_override =
Some(alloc.align).filter(|&align| align != self.lookup_type(value_ty).alignof(self));
if let Some(_align) = align_override {
// FIXME(eddyb) implement, or at least error.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo!() these? I don't know this code so don't know if needed.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo!() would ICE, it should at the very least be a nice user error if we do want to enforce it.
(otherwise, e.g. assert_eq!(alloc.align, self.lookup_type(value_ty).alignof(self)) is much better than a todo!(), but I don't think we should do either)

These things used to be ignored before, too, I just made the code slightly clearer that that's happening.

@eddyb eddyb added this pull request to the merge queue Jul 9, 2025
Merged via the queue into Rust-GPU:main with commit 4a9e76c Jul 9, 2025
13 checks passed
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.

2 participants