Skip to content

Commit cb93d28

Browse files
committed
!! (WIP) remove i586 target checks
1 parent cc557c5 commit cb93d28

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

tests/ui/abi/homogenous-floats-target-feature-mixup.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,6 @@ fn main() {
1919
return test::main(&level)
2020
}
2121

22-
match std::env::var("TARGET") {
23-
Ok(s) => {
24-
// Skip this tests on i586-unknown-linux-gnu where sse2 is disabled
25-
if s.contains("i586") {
26-
return
27-
}
28-
}
29-
Err(_) => return,
30-
}
31-
3222
let me = env::current_exe().unwrap();
3323
for level in ["sse", "avx", "avx512"].iter() {
3424
let status = Command::new(&me).arg(level).status().unwrap();

tests/ui/target-feature/target-feature-detection.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,7 @@
66
#![allow(stable_features)]
77
#![feature(cfg_target_feature)]
88

9-
use std::env;
10-
119
fn main() {
12-
match env::var("TARGET") {
13-
Ok(s) => {
14-
// Skip this tests on i586-unknown-linux-gnu where sse2 is disabled
15-
if s.contains("i586") {
16-
return;
17-
}
18-
}
19-
Err(_) => return,
20-
}
2110
if cfg!(any(target_arch = "x86", target_arch = "x86_64")) {
2211
assert!(
2312
cfg!(target_feature = "sse2"),

0 commit comments

Comments
 (0)