Open glandium opened 4 months ago
The error message you got suggests reporting it to Miri. Have you done so? It seems unwise to add features to this crate to work around incomplete support in another tool.
Does that count as a "basic API commonly used", though?
Does that count as a "basic API commonly used", though?
They did it for the x86-64 intrinsics. And the fact that memchr uses it makes it commonly used. ;-)
FWIW, I found the following on the miri repo: https://github.com/rust-lang/miri/issues/3172 is an existing issue about the aarch64 intrinsics. Nobody seems to be working on it. https://github.com/rust-lang/miri/issues/3243#issuecomment-1870535460 is a general recommendation to implement what this issue is asking for.
Behind this generic request, here is my actual problem: running code that uses memchr under miri fails with the following:
where the call to this function originates from memchr.
A feature that switches to use a dumb implementation could be useful for cases like this.