Skip to content

Commit

Permalink
fix emscripten
Browse files Browse the repository at this point in the history
  • Loading branch information
Wumpf committed Jan 12, 2024
1 parent 08e6bba commit 8147cfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ fn main() {
native: { not(target_arch = "wasm32") },
webgl: { all(target_arch = "wasm32", not(target_os = "emscripten"), feature = "webgl") },
webgpu: { all(target_arch = "wasm32", not(target_os = "emscripten"), feature = "webgpu") },
wgpu_core: { any(native, webgl) },
emscripten: { all(target_arch = "wasm32", target_os = "emscripten") },
wgpu_core: { any(native, webgl, emscripten) },
send_sync: { any(
not(target_arch = "wasm32"),
all(feature = "fragile-send-sync-non-atomic-wasm", not(target_feature = "atomics"))
Expand Down

0 comments on commit 8147cfe

Please sign in to comment.