Skip to content

Commit 52b4681

Browse files
committed
Teach compiletest to ignore platform triples
1 parent 3a087ad commit 52b4681

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/compiletest/src/header.rs

+1
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,7 @@ impl Config {
897897
let name = line[prefix.len() + 1..].split(&[':', ' '][..]).next().unwrap();
898898

899899
if name == "test" ||
900+
&self.target == name || // triple
900901
util::matches_os(&self.target, name) || // target
901902
util::matches_env(&self.target, name) || // env
902903
name == util::get_arch(&self.target) || // architecture

0 commit comments

Comments
 (0)