From 9a6a15f60594a994a37d5212835d85d05e4e4e68 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 17 Apr 2018 11:42:10 -0700 Subject: [PATCH] Fix compilation and support on 32-bit targets --- Cargo.toml | 3 +++ crates/cli-support/Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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"] }