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

Lower MSRV to 1.56 #855

Merged
merged 1 commit into from
Feb 10, 2024
Merged

Lower MSRV to 1.56 #855

merged 1 commit into from
Feb 10, 2024

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Feb 8, 2024

Makes progress on #554

src/lib.rs Outdated
@@ -430,7 +432,7 @@ impl DstLayout {
const THEORETICAL_MAX_ALIGN: NonZeroUsize =
match NonZeroUsize::new(1 << (POINTER_WIDTH_BITS - 1)) {
Some(max_align) => max_align,
None => unreachable!(),
None => loop {},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we replace these loop {}s with a macro that conditionally either panics or loops?

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@joshlf joshlf enabled auto-merge February 8, 2024 22:11
@joshlf joshlf force-pushed the lower-msrv-1-56 branch 4 times, most recently from 8775f70 to 38b384a Compare February 9, 2024 00:42
auto-merge was automatically disabled February 9, 2024 00:49

Pull Request is not mergeable

@joshlf joshlf enabled auto-merge February 9, 2024 01:20
jswrenn
jswrenn previously approved these changes Feb 10, 2024
@joshlf joshlf added this pull request to the merge queue Feb 10, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 10, 2024
jswrenn
jswrenn previously approved these changes Feb 10, 2024
Makes progress on #554
@joshlf joshlf added this pull request to the merge queue Feb 10, 2024
Merged via the queue into main with commit f86ab92 Feb 10, 2024
209 checks passed
@joshlf joshlf deleted the lower-msrv-1-56 branch February 10, 2024 04:05
@joshlf joshlf mentioned this pull request Feb 12, 2024
@jswrenn jswrenn mentioned this pull request Feb 27, 2024
51 tasks
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

2 participants