test that target features given in the target spec are enabled#4729
test that target features given in the target spec are enabled#4729RalfJung wants to merge 1 commit intorust-lang:masterfrom
Conversation
|
Thank you for contributing to Miri! A reviewer will take a look at your PR, typically within a week or two. |
|
I could just test this, I still have your PR checked out after all... no, turns out it does not fix this. |
|
However it also already fails before #4648. So we probably need a different test. |
|
My PR should fix this for v7 and thumb2. vfp3 is not a target feature recognized by rustc. |
|
vfp3 is missing due to rust-lang/rust#149399. |
489cef7 to
65ac530
Compare
|
FWIW I also tried The macro docs make it sound like if the feature is available at compile time, the macro will work. Maybe I am misunderstanding the comment. EDIT: I just misunderstood the code, these never work. |
Indeed it does, I confirmed that locally. Great! |
|
I integrated this test into #4730. |
This currently fails... not sure if that is a regression, but it might be the same as rust-lang/rust#149314.
@bjorn3 do you think your PR will fix this?