Handled snap curl issue inside Rust #107722
This commit is contained in:
parent
4259073e9a
commit
858a4aa70c
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue