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.
1 parent e11e640 commit c67f7aeCopy full SHA for c67f7ae
src/bootstrap/src/core/download.rs
@@ -214,7 +214,7 @@ impl Config {
214
// options should be kept in sync with
215
// src/bootstrap/src/core/download.rs
216
// for consistency
217
- let mut curl = command("curl");
+ let mut curl = command("curl").allow_failure();
218
curl.args([
219
// follow redirect
220
"--location",
@@ -255,7 +255,7 @@ impl Config {
255
curl.arg("--retry-all-errors");
256
}
257
curl.arg(url);
258
- if !self.check_run(&mut curl) {
+ if !curl.run(&self) {
259
if self.host_target.contains("windows-msvc") {
260
eprintln!("Fallback to PowerShell");
261
for _ in 0..3 {
0 commit comments