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

Fix hash calculation on 32-bit targets #109

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

Jake-Shadle
Copy link
Contributor

While doing another PR I noticed this bug in the hash calculation used to find the local index directory for a registry, the use of usize would result in different hashes on 32-bit architectures. Apparently this is not an issue since no one has complained AFAICT, but might as well fix it to potentially save some pain in the future.

See EmbarkStudios/cargo-deny#374

@kornelski kornelski merged commit 1fe05d4 into frewsxcv:master Jun 14, 2023
@Jake-Shadle Jake-Shadle deleted the fix-32-bit-hash branch June 14, 2023 22:01
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