Closed jhorstmann closed 1 year ago
It's not yet possible to run the whole testsuite with miri as the code also uses many llvm or platform intrinsics, which are not supported. All tests that include slice
or array
in their name now pass, which is a big improvement.
This also enables successfully running the arrow-rs tests with its simd
feature under miri.
This CI really needs to be ported from Travis to GHA.
This CI really needs to be ported from Travis to GHA.
I can look into that. Very early version in my fork
Great!
Many methods in the slice or array api take a pointer to the first element and then use that pointer to read or write multiple lanes.
This is undefined behavior according to miri since pointer is only valid for a single element. The fix is to use the
as_ptr
/as_mut_ptr
methods of the slice, which gives a pointer to the whole slice and also leads to nicer code.