-
Notifications
You must be signed in to change notification settings - Fork 112
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 unsound aliasing into Box<[T]>
when converting them into NumPy arrays
#351
Conversation
aaf686d
to
7e3bac4
Compare
Box<[T]>
when converting them into NumPy arraysBox<[T]>
when converting them into NumPy arrays
7e3bac4
to
b1c1e4f
Compare
I would like to ignore the coverage failure here as we do have a doctest for the offending method, it is just that doctests are currently not supported by cargo-llvm-cov and thereby not counted against our coverage. Duplicating the test into a unit or integration test just to increase the patch coverage seems like a maintainability loss to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, you're quick 👍 We're still taking pointers and then moving vecs/arrays, but that should be fine, because those aren't noalias. :)
I considered doing the same change for |
No description provided.