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

Misc int32 issues #926

Merged
merged 4 commits into from
Jul 5, 2023
Merged

Misc int32 issues #926

merged 4 commits into from
Jul 5, 2023

Conversation

graydon
Copy link
Contributor

@graydon graydon commented Jul 4, 2023

This just fixes a couple issues that can cause 32 bit hosts to diverge from 64 bit hosts in extreme cases (not likely one could ever hit them due to metering, but whatever). Also explicitly caps size of vectors and maps to u32::max.

Fixes #895

@graydon graydon requested a review from sisuresh as a code owner July 4, 2023 23:45
@graydon graydon requested a review from dmkozh July 4, 2023 23:53
@graydon graydon enabled auto-merge (squash) July 5, 2023 18:10
@graydon graydon merged commit 10e631f into main Jul 5, 2023
8 checks passed
@graydon graydon deleted the misc-int32-issues branch July 5, 2023 18:36
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.

Limit map and vec host sizes to u32::MAX
3 participants