Use env_logger in cts_runner

This commit is contained in:
Andy Leiserson 2025-06-20 08:44:16 -07:00
parent 7ff0bd784e
commit 26ca28e13c
3 changed files with 5 additions and 0 deletions

1
Cargo.lock generated
View File

@ -1002,6 +1002,7 @@ dependencies = [
"deno_web",
"deno_webgpu",
"deno_webidl",
"env_logger",
"termcolor",
"tokio",
]

View File

@ -7,6 +7,9 @@ description = "CTS runner for wgpu"
license.workspace = true
publish = false
[dependencies]
env_logger.workspace = true
# We make all dependencies conditional on not being wasm,
# so the whole workspace can built as wasm.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]

View File

@ -147,5 +147,6 @@ impl deno_web::TimersPermission for Permissions {
#[tokio::main(flavor = "current_thread")]
async fn main() {
env_logger::init();
unwrap_or_exit(run().await)
}