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

Reduce MSRV to 1.61.0 (#234) #236

Merged
merged 1 commit into from Aug 8, 2023
Merged

Reduce MSRV to 1.61.0 (#234) #236

merged 1 commit into from Aug 8, 2023

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Aug 8, 2023

It turned out that there were only a few lines of code that required our MSRV to be as high as it was before this commit (1.65.0), and those lines were easy to modify to be compatible with this new MSRV.

Note that this requires introducing defensive code to FromZeroes::new_box_slice_zeroed in order to sidestep a bug in Layout::from_size_align that was present through 1.64.0.

@joshlf joshlf force-pushed the v0.6.x-reduce-msrv branch 2 times, most recently from 959744e to a052b0d Compare August 8, 2023 22:05
It turned out that there were only a few lines of code that required
our MSRV to be as high as it was before this commit (1.65.0), and those
lines were easy to modify to be compatible with this new MSRV.

Note that this requires introducing defensive code to
`FromZeroes::new_box_slice_zeroed` in order to sidestep a bug in
`Layout::from_size_align` that was present through 1.64.0.
@joshlf joshlf merged commit 0bbc2ae into v0.6.x Aug 8, 2023
96 checks passed
@joshlf joshlf deleted the v0.6.x-reduce-msrv branch August 8, 2023 22:22
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.

None yet

1 participant