Try to download wasi-sdk ahead of time (#42377)

This hopefully resolves the lingering test failures on linux,
but also adds some logging just in case this isn't the problem...

Release Notes:

- N/A

---------

Co-authored-by: Ben Kunkle <ben@zed.dev>
This commit is contained in:
Conrad Irwin
2025-11-10 19:50:43 +00:00
committed by GitHub
co-authored by Ben Kunkle
parent 3fbfea491d
commit c24f9e47b4
12 changed files with 138 additions and 25 deletions
+7 -6
View File
@@ -30,16 +30,17 @@ pub fn init_test() {
}
}
pub fn init_test_with(filter: &str) {
if try_init(Some(filter.to_owned())).is_ok() {
init_output_stdout();
}
}
fn get_env_config() -> Option<String> {
std::env::var("ZED_LOG")
.or_else(|_| std::env::var("RUST_LOG"))
.ok()
.or_else(|| {
if std::env::var("CI").is_ok() {
Some("info".to_owned())
} else {
None
}
})
}
pub fn process_env(filter: Option<String>) {