diff --git a/benches/benches/wgpu-benchmark/main.rs b/benches/benches/wgpu-benchmark/main.rs index 18e5ee2be..a6c677508 100644 --- a/benches/benches/wgpu-benchmark/main.rs +++ b/benches/benches/wgpu-benchmark/main.rs @@ -1,5 +1,5 @@ -#[cfg_attr(target_arch = "wasm32", no_main)] -#[cfg(not(target_arch = "wasm32"))] +#![cfg_attr(target_arch = "wasm32", no_main)] +#![cfg(not(target_arch = "wasm32"))] use pollster::block_on; use wgpu_benchmark::Benchmark; diff --git a/wgpu-hal/Cargo.toml b/wgpu-hal/Cargo.toml index c483dff55..b01f82cfa 100644 --- a/wgpu-hal/Cargo.toml +++ b/wgpu-hal/Cargo.toml @@ -328,6 +328,7 @@ cfg_aliases.workspace = true [dev-dependencies] env_logger.workspace = true glam.workspace = true # for ray-traced-triangle example +log.workspace = true naga = { workspace = true, features = ["wgsl-in", "termcolor"] } winit.workspace = true # for "halmark" example