We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent babd694 commit f91d9f3Copy full SHA for f91d9f3
benches/benches/wgpu-benchmark/main.rs
@@ -1,5 +1,5 @@
1
-#[cfg_attr(target_arch = "wasm32", no_main)]
2
-#[cfg(not(target_arch = "wasm32"))]
+#![cfg_attr(target_arch = "wasm32", no_main)]
+#![cfg(not(target_arch = "wasm32"))]
3
use pollster::block_on;
4
use wgpu_benchmark::Benchmark;
5
wgpu-hal/Cargo.toml
@@ -328,6 +328,7 @@ cfg_aliases.workspace = true
328
[dev-dependencies]
329
env_logger.workspace = true
330
glam.workspace = true # for ray-traced-triangle example
331
+log.workspace = true
332
naga = { workspace = true, features = ["wgsl-in", "termcolor"] }
333
winit.workspace = true # for "halmark" example
334
0 commit comments