mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Use env_logger in cts_runner
This commit is contained in:
parent
7ff0bd784e
commit
26ca28e13c
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -1002,6 +1002,7 @@ dependencies = [
|
|||||||
"deno_web",
|
"deno_web",
|
||||||
"deno_webgpu",
|
"deno_webgpu",
|
||||||
"deno_webidl",
|
"deno_webidl",
|
||||||
|
"env_logger",
|
||||||
"termcolor",
|
"termcolor",
|
||||||
"tokio",
|
"tokio",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -7,6 +7,9 @@ description = "CTS runner for wgpu"
|
|||||||
license.workspace = true
|
license.workspace = true
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
env_logger.workspace = true
|
||||||
|
|
||||||
# We make all dependencies conditional on not being wasm,
|
# We make all dependencies conditional on not being wasm,
|
||||||
# so the whole workspace can built as wasm.
|
# so the whole workspace can built as wasm.
|
||||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||||
|
|||||||
@ -147,5 +147,6 @@ impl deno_web::TimersPermission for Permissions {
|
|||||||
|
|
||||||
#[tokio::main(flavor = "current_thread")]
|
#[tokio::main(flavor = "current_thread")]
|
||||||
async fn main() {
|
async fn main() {
|
||||||
|
env_logger::init();
|
||||||
unwrap_or_exit(run().await)
|
unwrap_or_exit(run().await)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user