rustup allows one to install the rust source, that's obviously not a target
This commit is contained in:
parent
a5aafbdfbf
commit
4ebf7bfea6
1 changed files with 3 additions and 2 deletions
|
@ -34,8 +34,9 @@ fn for_all_targets<F: FnMut(String)>(sysroot: &str, mut f: F) {
|
|||
continue;
|
||||
}
|
||||
let target = target.file_name().into_string().unwrap();
|
||||
if target == "etc" {
|
||||
continue;
|
||||
match &*target {
|
||||
"etc" | "src" => continue,
|
||||
_ => {},
|
||||
}
|
||||
let stderr = std::io::stderr();
|
||||
writeln!(stderr.lock(), "running tests for target {}", target).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue