Open
Description
Miri for me is choking on usages of is_x86_feature_detected!()
(specifically the inline assembly it uses to invoke cpuid
) in two different crates:
These crates of course can be patched to use #[cfg(miri)]
but it seems to me like Miri could also just override the internals of is_x86_feature_detected!()
to return false for all features it doesn't support, so these crates automatically fall back to implementations that Miri may already be able to evaluate. memchr may need further patching to work correctly in Miri but I think this would be worth the effort anyway.