From 491c730cac3904f63c1644e214a7e67f2a659d45 Mon Sep 17 00:00:00 2001 From: Yoshitomo Nakanishi Date: Thu, 10 Nov 2022 14:12:53 +0100 Subject: [PATCH 1/2] Add `default-features = false` to primitive-types --- crates/ir/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ir/Cargo.toml b/crates/ir/Cargo.toml index 46a4b225..13c7bbac 100644 --- a/crates/ir/Cargo.toml +++ b/crates/ir/Cargo.toml @@ -14,7 +14,7 @@ keywords = ["compiler", "evm", "wasm", "smart-contract"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -primitive-types = "0.12" +primitive-types = { version = "0.12", default-features = false } cranelift-entity = "0.89" smallvec = "1.7.0" fxhash = "0.2.1" From 5d077cf0df4620cc6cadb44b801ebf1dbbe720cb Mon Sep 17 00:00:00 2001 From: Yoshitomo Nakanishi Date: Thu, 10 Nov 2022 14:14:27 +0100 Subject: [PATCH 2/2] Remove unused dependency --- crates/codegen/Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/codegen/Cargo.toml b/crates/codegen/Cargo.toml index 8b3f5043..838ec4bd 100644 --- a/crates/codegen/Cargo.toml +++ b/crates/codegen/Cargo.toml @@ -15,7 +15,6 @@ keywords = ["compiler", "evm", "wasm", "smart-contract"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -primitive-types = "0.12" cranelift-entity = "0.89" smallvec = "1.7.0" fxhash = "0.2.1"