diff --git a/Cargo.toml b/Cargo.toml index 01965807..4e04b6d6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,3 +39,6 @@ members = [ lto = true opt-level = 's' panic = 'abort' + +[patch.crates-io] +parity-wasm = { git = 'https://github.com/alexcrichton/parity-wasm', branch = 'fix-overflow' } diff --git a/crates/cli-support/Cargo.toml b/crates/cli-support/Cargo.toml index 60f7571b..76e8ba5a 100644 --- a/crates/cli-support/Cargo.toml +++ b/crates/cli-support/Cargo.toml @@ -16,4 +16,4 @@ parity-wasm = "0.27" serde_json = "1.0" wasm-bindgen-shared = { path = "../shared", version = '=0.2.2' } wasm-gc-api = "0.1" -wasmi = "0.1" +wasmi = { version = "0.1", features = ["opt-in-32bit"] }