mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Handled snap curl issue inside Rust #107722
This commit is contained in:
parent
4259073e9a
commit
858a4aa70c
@ -221,10 +221,10 @@ impl Config {
|
||||
"--retry",
|
||||
"3",
|
||||
"-Sf",
|
||||
"-o",
|
||||
]);
|
||||
curl.arg(tempfile);
|
||||
curl.arg(url);
|
||||
let f = File::create(tempfile).unwrap();
|
||||
curl.stdout(Stdio::from(f));
|
||||
if !self.check_run(&mut curl) {
|
||||
if self.build.contains("windows-msvc") {
|
||||
println!("Fallback to PowerShell");
|
||||
|
Loading…
Reference in New Issue
Block a user