diff options
| author | Ralf Jung <post@ralfj.de> | 2024-12-27 22:19:55 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-12-31 12:41:20 +0100 |
| commit | 912b7291d0f8f477388282a04ccf085d1b3715b0 (patch) | |
| tree | 551e7b1143c909fe7390fafa0ee07e43007246f9 /tests/codegen | |
| parent | eb527424a5f0206a464d0968387d85636ac9d305 (diff) | |
| download | rust-912b7291d0f8f477388282a04ccf085d1b3715b0.tar.gz rust-912b7291d0f8f477388282a04ccf085d1b3715b0.zip | |
add ABI target features *before* -Ctarget-features
Diffstat (limited to 'tests/codegen')
| -rw-r--r-- | tests/codegen/target-feature-overrides.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/codegen/target-feature-overrides.rs b/tests/codegen/target-feature-overrides.rs index c4f9a8898a1..e7f70a1e24a 100644 --- a/tests/codegen/target-feature-overrides.rs +++ b/tests/codegen/target-feature-overrides.rs @@ -39,8 +39,8 @@ pub unsafe fn banana() -> u32 { } // CHECK: attributes [[APPLEATTRS]] -// COMPAT-SAME: "target-features"="+avx,+avx2,{{.*}}" -// INCOMPAT-SAME: "target-features"="-avx2,-avx,+x87,+sse2,+avx,{{.*}}" +// COMPAT-SAME: "target-features"="+x87,+sse2,+avx,+avx2,{{.*}}" +// INCOMPAT-SAME: "target-features"="+x87,+sse2,-avx2,-avx,+avx,{{.*}}" // CHECK: attributes [[BANANAATTRS]] -// COMPAT-SAME: "target-features"="+avx,+avx2,{{.*}}" -// INCOMPAT-SAME: "target-features"="-avx2,-avx,+x87,+sse2" +// COMPAT-SAME: "target-features"="+x87,+sse2,+avx,+avx2,{{.*}}" +// INCOMPAT-SAME: "target-features"="+x87,+sse2,-avx2,-avx" |
