Skip to content

Commit

Permalink
Fix compiling in WASM
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbat00 committed Nov 5, 2023
1 parent 887422c commit 4c73321
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ webbrowser = { version = "0.8.2", optional = true }
arboard = { version = "3.2.0", optional = true }
thread_local = { version = "1.1.0", optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
web-sys = "=0.3.64"

[dev-dependencies]
once_cell = "1.16.0"
version-sync = "0.9.4"
Expand Down

0 comments on commit 4c73321

Please sign in to comment.