diff options
| author | Josh Stone <jistone@redhat.com> | 2024-05-01 15:25:26 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2024-05-01 15:25:26 -0700 |
| commit | 706f06c39a9e08a4708a53722429d13ae4069c2f (patch) | |
| tree | 82f343edc69b5ada89e685e12a5fc29570b7903d /compiler/rustc_codegen_llvm/src/builder.rs | |
| parent | be9bca2daf929c4472abd8fbbb94b00f82481f07 (diff) | |
| download | rust-706f06c39a9e08a4708a53722429d13ae4069c2f.tar.gz rust-706f06c39a9e08a4708a53722429d13ae4069c2f.zip | |
Use an explicit x86-64 cpu in tests that are sensitive to it
There are a few tests that depend on some target features **not** being enabled by default, and usually they are correct with the default x86-64 target CPU. However, in downstream builds we have modified the default to fit our distros -- `x86-64-v2` in RHEL 9 and `x86-64-v3` in RHEL 10 -- and the latter especially trips tests that expect not to have AVX. These cases are few enough that we can just set them back explicitly.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions
