Closed
Description
When code under miri reaches a function annotated with #[target_feature(enable = "...")]
in doc tests miri throws an error saying "calling a function that requires unavailable target features" despite this being in the if
block that checks the features using is_x86_feature_enabled!
and despite having -C target-feature=...
on the command line. The same issue is not present in non-doc tests and the same code works fine.
Metadata
Metadata
Assignees
Labels
No labels