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.
search
1 parent 1d3eba4 commit 061f787Copy full SHA for 061f787
src/toolchain.rs
@@ -155,7 +155,10 @@ impl Toolchain {
155
// This nop cargo command is to update the registry
156
// so we don't have to do it for each crate.
157
let toolchain_arg = "+".to_string() + &self.rustup_name();
158
- let full_args = [&toolchain_arg, "search", "lazy_static"];
+ // using `install` is a temporary solution until
159
+ // https://github.com/rust-lang/cargo/pull/5961
160
+ // is ready
161
+ let full_args = [&toolchain_arg, "install", "lazy_static"];
162
RunCommand::new(&installed_binary("cargo"), &full_args)
163
.local_rustup()
164
.quiet(true)
0 commit comments