mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Fix vscode issues on wasm32 (#8584)
This commit is contained in:
parent
babd6940d9
commit
f91d9f385b
@ -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;
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user