Skip to content

Fix <StableSipHasher128 as Hasher>::finish not being platform agnostic #12

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 2 commits into from
Mar 5, 2025

Conversation

Urgau
Copy link
Member

@Urgau Urgau commented Mar 5, 2025

This PR fix <StableSipHasher128 as Hasher>::finish not being platform agnostic, found in rust-lang/cargo#15265.

I added a test that should hopefully prevent regressions. We do run little and big endian in CI to validate the fix.

It also prepares to release 0.1.2 with the fix.

r? @cuviper

Copy link
Member

@cuviper cuviper left a comment

Choose a reason for hiding this comment

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

Looks good, especially adding test coverage, thanks!

I also confirmed that this fixes the cargo test on s390x.

@Urgau Urgau merged commit bda19e8 into rust-lang:main Mar 5, 2025
10 checks passed
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