Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2382,6 +2382,7 @@ impl Build {
enum ArchSpec {
Device(&'static str),
Simulator(&'static str),
#[allow(dead_code)]
Catalyst(&'static str),
}

Expand Down Expand Up @@ -2761,7 +2762,11 @@ impl Build {
// interpretation at all, just pass it on through. This'll hopefully get
// us to support spaces-in-paths.
if Path::new(&*tool).exists() {
return Some((PathBuf::from(&*tool), None, Vec::new()));
return Some((
PathBuf::from(&*tool),
Self::rustc_wrapper_fallback(),
Vec::new(),
));
}

// Ok now we want to handle a couple of scenarios. We'll assume from
Expand Down