Skip to content

Commit 9a6a15f

Browse files
committed
Fix compilation and support on 32-bit targets
1 parent f80a706 commit 9a6a15f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ members = [
3939
lto = true
4040
opt-level = 's'
4141
panic = 'abort'
42+
43+
[patch.crates-io]
44+
parity-wasm = { git = 'https://github.com/alexcrichton/parity-wasm', branch = 'fix-overflow' }

crates/cli-support/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ parity-wasm = "0.27"
1616
serde_json = "1.0"
1717
wasm-bindgen-shared = { path = "../shared", version = '=0.2.2' }
1818
wasm-gc-api = "0.1"
19-
wasmi = "0.1"
19+
wasmi = { version = "0.1", features = ["opt-in-32bit"] }

0 commit comments

Comments
 (0)