Skip to content

Commit e13fd38

Browse files
authored
ignore the error
1 parent 061f787 commit e13fd38

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/toolchain.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ impl Toolchain {
159159
// https://github.com/rust-lang/cargo/pull/5961
160160
// is ready
161161
let full_args = [&toolchain_arg, "install", "lazy_static"];
162-
RunCommand::new(&installed_binary("cargo"), &full_args)
162+
let _ = RunCommand::new(&installed_binary("cargo"), &full_args)
163163
.local_rustup()
164164
.quiet(true)
165165
.run()
@@ -168,7 +168,11 @@ impl Toolchain {
168168
"unable to update the index for toolchain {}",
169169
&self.rustup_name()
170170
)
171-
})
171+
});
172+
// ignore the error untill
173+
// https://github.com/rust-lang/cargo/pull/5961
174+
// is ready
175+
Ok(())
172176
}
173177
}
174178

0 commit comments

Comments
 (0)