Skip to content

Commit

Permalink
fix: disable timeout on toolchain download
Browse files Browse the repository at this point in the history
  • Loading branch information
ncitron committed Apr 21, 2024
1 parent bf3376e commit d4950de
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,13 @@ fn install_no_std_toolchain() {
}

fn install_jolt_toolchain() {
let client = Client::builder()
.timeout(None)
.user_agent("Mozilla/5.0")
.build()
.unwrap();

let target = target_lexicon::HOST.to_string();
let client = Client::builder().user_agent("Mozilla/5.0").build().unwrap();
let url = get_jolt_toolchain_url(&client, &target);
println!("downloading toolchain...");
download_jolt_toolchain(&client, &url);
Expand Down

0 comments on commit d4950de

Please sign in to comment.