Merge pull request #1332 from hannobraun/workaround

Remove WASM workaround that is no longer required
This commit is contained in:
Hanno Braun 2022-11-09 16:01:59 +01:00 committed by GitHub
commit b1f0656150
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 7 deletions

1
Cargo.lock generated
View File

@ -1242,7 +1242,6 @@ dependencies = [
"egui-wgpu",
"fj-interop",
"fj-math",
"getrandom",
"raw-window-handle 0.4.3",
"rfd",
"thiserror",

View File

@ -31,9 +31,3 @@ features = ["xdg-portal"]
[dependencies.wgpu]
version = "0.13.1"
features = ["webgl"]
# We don't depend on `getrandom` directly, but we need this to enable the `js`
# feature when cross-compiling to WASM. Otherwise, `getrandom` will not build.
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2.8"
features = ["js"]