Closed GPeaky closed 7 months ago
= help: this is likely not a bug in the program; it indicates that the program performed an operation that the interpreter does not support
Pretty sure MIRI can't do FFI easily.
Okay!, just other question is there any possible solution to make miri don't check mimalloc or something?
You probably want to disable mimalloc while running under MIRI.
I think cfg_attr
should work. If not, you can just put the global_allocator
stuff in a module and feature gate that entire module instead.
Thanks!
I am using some unsafe rust in my crate for improve performance and i am getting an error from mimalloc: