Rollup merge of #107841 - tharunsuresh-code:snap_curl, r=ozkanonur
Handled snap curl issue inside Rust
This commit is contained in:
commit
8bfb97cc8a
1 changed files with 2 additions and 2 deletions
|
|
@ -229,10 +229,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