Skip to content

std/hash: Revert crc32 api change #3118

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 1 commit into from
Aug 24, 2019
Merged

std/hash: Revert crc32 api change #3118

merged 1 commit into from
Aug 24, 2019

Conversation

tiehuis
Copy link
Member

@tiehuis tiehuis commented Aug 24, 2019

This is user specified and the user doesn't necessarily have to use one
of the provided polynomials declared hence we can't use an enum.

Thanks @daurnimator for catching this.

This is user specified and the user doesn't necessarily have to use one
of the provided polynomials declared hence we can't use an enum.

Thanks @daurnimator for catching this.
@tiehuis tiehuis mentioned this pull request Aug 24, 2019
@tiehuis
Copy link
Member Author

tiehuis commented Aug 24, 2019

Will merge when tests pass.

@daurnimator
Copy link
Contributor

daurnimator commented Aug 24, 2019

If you did want it to be an enum, perhaps #2524 would help?

@tiehuis tiehuis merged commit 50a8026 into master Aug 24, 2019
@tiehuis tiehuis deleted the revert-crc-poly-api branch August 24, 2019 08:47
daurnimator added a commit to daurnimator/zig that referenced this pull request Jan 18, 2020
andrewrk pushed a commit that referenced this pull request Jan 18, 2020
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