Skip to content

Commit

Permalink
fix wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
vojty committed Oct 30, 2024
1 parent 19bffca commit f23bce2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[target.wasm32-unknown-unknown]
rustflags = "-C target-feature=+bulk-memory"
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["debugger", "debugger-web" , "gb", "integration-tests", "gb-web"]
members = ["debugger", "debugger-web", "gb", "integration-tests", "gb-web"]
resolver = "2"

[profile.release]
Expand Down
16 changes: 8 additions & 8 deletions debugger-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ crate-type = ["cdylib"]
[dependencies]
debugger = { path = "../debugger" }
eframe = "0.29.1"
env_logger = "0.11.1"
js-sys = "0.3.68"
log = "0.4.20"
serde = { version = "1.0.196", features = ["derive"] }
serde-wasm-bindgen = "0.6.3"
wasm-bindgen = { version = "0.2.91", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.41"
env_logger = "0.11.5"
js-sys = "0.3.72"
log = "0.4.22"
serde = { version = "1.0.214", features = ["derive"] }
serde-wasm-bindgen = "0.6.5"
wasm-bindgen = { version = "0.2.95", features = ["serde-serialize"] }
wasm-bindgen-futures = "0.4.45"

[dependencies.web-sys]
version = "0.3.68"
version = "0.3.72"
features = [
'Headers',
'Request',
Expand Down
4 changes: 2 additions & 2 deletions gb-web/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ gb = { path = "../gb" }

console_error_panic_hook = "0.1.7"
log = "0.4.22"
js-sys = "0.3.70"
wasm-bindgen = "0.2.93"
js-sys = "0.3.72"
wasm-bindgen = "0.2.95"
wasm-logger = "0.2.0"

0 comments on commit f23bce2

Please sign in to comment.