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

aesni: use MaybeUninit::zeroed() to init XMM registers #109

Merged
merged 1 commit into from May 27, 2020

Conversation

tarcieri
Copy link
Member

Resolves clippy lints about soundness, and will be optimized away by the compiler:

https://rust.godbolt.org/z/inEYXR

Resolves clippy lints about soundness, and will be optimized away by
the compiler:

https://rust.godbolt.org/z/inEYXR
@tarcieri tarcieri merged commit 179262e into master May 27, 2020
@tarcieri tarcieri deleted the aesni/maybe-uninit-zeroed branch May 27, 2020 15:34
@newpavlov
Copy link
Member

Why not use shorter mem::zeroed() instead? AFAIK it's not getting deprecated as mem::uninitialied()

@tarcieri
Copy link
Member Author

Aah, well then...

@tarcieri
Copy link
Member Author

Opened #110

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