fix(rustup): finding installed components
This commit is contained in:
@@ -41,7 +41,7 @@ impl Backend for Rustup {
|
|||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
let components: HashSet<Package> = self
|
let components: HashSet<Package> = self
|
||||||
.run_component_command(Repotype::Component.get_install_switches(), &toolchains_vec)
|
.run_component_command(Repotype::Component.get_info_switches(), &toolchains_vec)
|
||||||
.context("Getting installed components")?
|
.context("Getting installed components")?
|
||||||
.iter()
|
.iter()
|
||||||
.map(|name| ["component", name].join("/").into())
|
.map(|name| ["component", name].join("/").into())
|
||||||
|
|||||||
Reference in New Issue
Block a user