rustup allows one to install the rust source, that's obviously not a target
This commit is contained in:
parent
a5aafbdfbf
commit
4ebf7bfea6
@ -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…
x
Reference in New Issue
Block a user