diff --git a/Cargo.lock b/Cargo.lock index 09eef0a79..87702c0d1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5729,6 +5729,7 @@ dependencies = [ "jemallocator", "keccak-hash 0.10.0", "libtest-mimic", + "linkme", "lru", "mpt_trie", "num-traits", diff --git a/zero/Cargo.toml b/zero/Cargo.toml index 9332d7480..e30ccf8d5 100644 --- a/zero/Cargo.toml +++ b/zero/Cargo.toml @@ -30,6 +30,7 @@ hashbrown = { workspace = true } hex = { workspace = true } itertools = { workspace = true } keccak-hash = { workspace = true } +linkme = { version = "0.3.28", features = ["used_linker"] } lru = { workspace = true } num-traits = { workspace = true } nunny = { workspace = true } diff --git a/zero/src/lib.rs b/zero/src/lib.rs index 02e599d8f..e9159a5a9 100644 --- a/zero/src/lib.rs +++ b/zero/src/lib.rs @@ -1,3 +1,5 @@ +#![feature(used_with_arg)] + zk_evm_common::check_chain_features!(); pub mod block_interval;