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:
co-authored by
Ben Kunkle
parent
3fbfea491d
commit
c24f9e47b4
@@ -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>) {
|
||||
|
||||
Reference in New Issue
Block a user