Fix vscode issues on wasm32 (#8584)

This commit is contained in:
Connor Fitzgerald 2025-11-27 04:56:43 -05:00 committed by GitHub
parent babd6940d9
commit f91d9f385b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#[cfg_attr(target_arch = "wasm32", no_main)] #![cfg_attr(target_arch = "wasm32", no_main)]
#[cfg(not(target_arch = "wasm32"))] #![cfg(not(target_arch = "wasm32"))]
use pollster::block_on; use pollster::block_on;
use wgpu_benchmark::Benchmark; use wgpu_benchmark::Benchmark;

View File

@ -328,6 +328,7 @@ cfg_aliases.workspace = true
[dev-dependencies] [dev-dependencies]
env_logger.workspace = true env_logger.workspace = true
glam.workspace = true # for ray-traced-triangle example glam.workspace = true # for ray-traced-triangle example
log.workspace = true
naga = { workspace = true, features = ["wgsl-in", "termcolor"] } naga = { workspace = true, features = ["wgsl-in", "termcolor"] }
winit.workspace = true # for "halmark" example winit.workspace = true # for "halmark" example