Skip to content
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

Upgrade to Rust 1.83 #9511

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Upgrade to Rust 1.83 #9511

merged 1 commit into from
Nov 29, 2024

Conversation

charliermarsh
Copy link
Member

@charliermarsh charliermarsh commented Nov 28, 2024

Summary

A lot of good new lints, and most importantly, error stabilizations. I tried to find a few usages of the new stabilizations, but I'm sure there are more.

IIUC, this does require bumping our MSRV.

@charliermarsh charliermarsh added the internal A refactor or improvement that is not user-facing label Nov 28, 2024
@charliermarsh charliermarsh force-pushed the charlie/rust-1.83 branch 2 times, most recently from 66b147b to 1bfd24d Compare November 28, 2024 17:46
@@ -1749,7 +1749,7 @@ impl<'a, T: BuildContext> SourceDistributionBuilder<'a, T> {
.map_err(Error::CacheWrite)?;
if let Err(err) = rename_with_retry(extracted, target).await {
// If the directory already exists, accept it.
if target.is_dir() {
if err.kind() == std::io::ErrorKind::AlreadyExists {
Copy link
Member

Choose a reason for hiding this comment

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

Yes!

Comment on lines -1168 to +1170
if !components
if components
.next()
.is_some_and(|component| component.as_os_str() == "WindowsApps")
.is_none_or(|component| component.as_os_str() != "WindowsApps")
Copy link
Member

Choose a reason for hiding this comment

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

to me that reads worse

@charliermarsh charliermarsh merged commit cf20673 into main Nov 29, 2024
64 checks passed
@charliermarsh charliermarsh deleted the charlie/rust-1.83 branch November 29, 2024 17:04
zanieb added a commit that referenced this pull request Dec 3, 2024
zanieb added a commit that referenced this pull request Dec 3, 2024
This reverts commit cf20673 (#9511) due
to failure on powerpc64le in #9612
zanieb added a commit that referenced this pull request Dec 11, 2024
zanieb added a commit that referenced this pull request Dec 11, 2024
zanieb added a commit that referenced this pull request Dec 11, 2024
This reverts commit 6cc7a56 to reapply
#9511 since we've disabled ppc64le-musl per #9793
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal A refactor or improvement that is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants