3 ms·
Yes, that's what I mean about using proptest (if you are unfamiliar, it's akin to QuickCheck). You'd write the proptest functions for your dedicated unsafe sect
by shepmaster 8y ago
Yes, that's what I mean about using proptest (if you are unfamiliar, it's akin to QuickCheck). You'd write the proptest functions for your dedicated unsafe section.
As an example, I use this with Jetscii [1] in an attempt to throughly test SIMD vs non-SIMD code. If Miri detected errors with SIMD (I don't think it does now), then I could run those tests inside of Miri, having them pull double duty.
[1]: https://github.com/shepmaster/jetscii/ https://github.com/shepmaster/jetscii/
- staticassertion 8y agoOh, yes, agreed that proptest is way more viable here and probably a good solution to pair with miri.