log download to eprintln (#8237)

log to eprintln
This commit is contained in:
Anton-4 2025-09-06 19:04:37 +02:00 committed by GitHub
parent 480bbd6a62
commit 5fa6b29668
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -107,7 +107,7 @@ pub fn install_package<'a>(
Ok((dest_dir, root_module_filename))
} else {
// Download into a tempdir; only move it to dest_dir if hash verification passes.
println!(
eprintln!(
"Downloading \u{001b}[36m{url}\u{001b}[0m\n into {}\n",
cache_dir.display()
);