Skip to content

Commit

Permalink
Pin known-good version of web-sys
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Feb 12, 2024
1 parent 9126172 commit ccca4d1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions crates/fj-viewer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,13 @@ features = ["webgl"]
[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2.12"
features = ["js"]

# We don't depend on `web-sys` directly, but `wgpu` does. And we're enabling
# experimental features of `web-sys` to support WebGPU, and it seems that
# `web-sys` makes breaking changes to those in path versions.
#
# See https://github.com/gfx-rs/wgpu/issues/5243.
#
# Here, we pin `web-sys` to a known-good version.
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "=0.3.67"

0 comments on commit ccca4d1

Please sign in to comment.