Skip to content

Commit 5dadda1

Browse files
committed
Teach compiletest to ignore platform triples
1 parent c8ea4ac commit 5dadda1

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
@@ -867,6 +867,7 @@ impl Config {
867867
.unwrap();
868868

869869
if name == "test" ||
870+
&self.target == name || // triple
870871
util::matches_os(&self.target, name) || // target
871872
util::matches_env(&self.target, name) || // env
872873
name == util::get_arch(&self.target) || // architecture

0 commit comments

Comments
 (0)