Auto merge of #143617 - aDotInTheVoid:devdesktoptestattr, r=Mark-Simulacrum

Run `tests/rustdoc-json/attrs/target_features` on all hosts.

Makes it more convenient to test rustdoc on non x86_64. I mainly care about the aarch64 dev-desktops.

This works because rustdoc uses all target features, not just that of the target.
This commit is contained in:
bors 2025-07-13 12:28:47 +00:00
commit 7e310f4b9a

View file

@ -1,5 +1,3 @@
//@ only-x86_64
//@ is "$.index[?(@.name=='test1')].attrs" '["#[target_feature(enable=\"avx\")]"]'
//@ is "$.index[?(@.name=='test1')].inner.function.header.is_unsafe" false
#[target_feature(enable = "avx")]