Skip to content

Commit 13713df

Browse files
committed
fix: ureq compat
1 parent be153e3 commit 13713df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guests/python/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ fn download_wasi_sdk() -> Result<Option<String>, Box<dyn std::error::Error>> {
8686
.map_err(|e| format!("failed to download WASI SDK: {}", e))?;
8787

8888
let mut file = File::create(&tar_gz_path)?;
89-
let mut reader = response.into_reader();
89+
let mut reader = response.into_body().into_reader();
9090
let mut hasher = sha2::Sha256::new();
9191
let mut buffer = [0u8; 8192];
9292
while let Ok(n) = reader.read(&mut buffer)

0 commit comments

Comments
 (0)