We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3570a10 + c6a3726 commit 21ca6edCopy full SHA for 21ca6ed
collector/src/bin/collector.rs
@@ -826,8 +826,8 @@ fn main_result() -> anyhow::Result<i32> {
826
};
827
828
let host_target_tuple = match used_rustc {
829
- Some(rustc) => get_host_tuple_from_rustc(&rustc),
830
- None => get_host_tuple_from_rustc("rustc"),
+ Some(rustc) if !rustc.starts_with("+") => get_host_tuple_from_rustc(&rustc),
+ _ => get_host_tuple_from_rustc("rustc"),
831
832
// We only unwrap the host tuple in places where we actually need it, to avoid panicking if it
833
// is missing, but we don't really need it.
0 commit comments