Skip to content

Commit

Permalink
Show bpf-tools download progress (#16135)
Browse files Browse the repository at this point in the history
(cherry picked from commit 07273bf)

Co-authored-by: Michael Vines <[email protected]>
  • Loading branch information
mergify[bot] and mvines authored Mar 25, 2021
1 parent 5e35cf3 commit 4dc5a53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/cargo-build-bpf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ fn install_if_missing(
url.push_str(version);
url.push('/');
url.push_str(file.to_str().unwrap());
download_file(&url.as_str(), &file, false)?;
download_file(&url.as_str(), &file, true)?;
fs::create_dir_all(&target_path).map_err(|err| err.to_string())?;
let zip = File::open(&file).map_err(|err| err.to_string())?;
let tar = BzDecoder::new(BufReader::new(zip));
Expand Down

0 comments on commit 4dc5a53

Please sign in to comment.