-
Notifications
You must be signed in to change notification settings - Fork 487
Upgrade to Rust 1.87 #32653
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.87 #32653
Conversation
| # in slower code due to the allocation. | ||
| ("large_enum_variant", 0), | ||
| # A specialization of `large_enum_variant`; similar arguments apply. | ||
| ("result_large_err", 0), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually think enabling this lint might be useful. But fixing all the instances it finds is a bunch of effort and I didn't want to block the fix for the std::sync::mpsc safety bug on it.
petrosagg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I'd wait for Ben to take a second a look on the persist changes
def-
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nightly triggered: https://buildkite.com/materialize/nightly/builds/12211
3d7d64c to
f610ea6
Compare
|
The build is failing due to what looks like llvm compatibility issues. I'll try updating our version of llvm as well. |
|
Upgrading clang fixed the build, but the Miri tests are broken because of taiki-e/portable-atomic#210. Trying again without upgrading the Nightly version. |
|
TFTRs! |
This PR upgrades Materialize to use Rust 1.87
and a recent nightly, and fixes the resulting clippy lint errors.Note that Rust 1.87 is particularly exciting because it fixes the channel use-after-free bug that Petros found.
Motivation
Checklist
$T ⇔ Proto$Tmapping (possibly in a backwards-incompatible way), then it is tagged with aT-protolabel.