Skip to content

move back to Rust 1.81 #7020

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 1 commit into from
Nov 8, 2024
Merged

Conversation

sunshowers
Copy link
Contributor

@sunshowers sunshowers commented Nov 8, 2024

Rust 1.82 has a rather serious compile time regression in Diesel-generated
code: rust-lang/rust#132064. This makes Omicron
builds up to twice as slow.

We used to be on 1.80 before moving to 1.82, but 1.81 has some nice things like
#[expect]. So move to 1.81.

Thanks to @jmpesp for tracking this down!

Created using spr 1.3.6-beta.1
@sunshowers sunshowers requested a review from iliana November 8, 2024 21:47
@sunshowers
Copy link
Contributor Author

Looks like the regression is fixed in nightly Rust: rust-lang/rust#132064 (comment)

We should be able to move to Rust 1.84 when that's released.

@sunshowers sunshowers enabled auto-merge (squash) November 8, 2024 22:05
@sunshowers sunshowers merged commit 96ec5f8 into main Nov 8, 2024
16 checks passed
@sunshowers sunshowers deleted the sunshowers/spr/move-back-to-rust-181 branch November 8, 2024 23:23
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