From b4dfee6a9958aed8ecbc005a992357941f1f4253 Mon Sep 17 00:00:00 2001 From: John Guibas Date: Mon, 19 Feb 2024 17:41:25 -0800 Subject: [PATCH] fix: zkvm recursive import issue (#274) Co-authored-by: John Guibas --- zkvm/Cargo.toml | 2 +- zkvm/src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/zkvm/Cargo.toml b/zkvm/Cargo.toml index d0000a26ef..eaffb3655b 100644 --- a/zkvm/Cargo.toml +++ b/zkvm/Cargo.toml @@ -13,4 +13,4 @@ cfg-if = "1.0.0" getrandom = { version = "0.2.12", features = ["custom"] } k256 = { version = "0.13.3", features = ["ecdsa", "std", "bits"] } rand = "0.8.5" -serde = { version = "1.0.196", features = ["derive"] } +serde = { version = "1.0.196", features = ["derive"] } \ No newline at end of file diff --git a/zkvm/src/lib.rs b/zkvm/src/lib.rs index 3e6a39596b..d67e4cc992 100644 --- a/zkvm/src/lib.rs +++ b/zkvm/src/lib.rs @@ -6,6 +6,7 @@ pub use precompiles::io; extern crate alloc; +#[cfg(not(feature = "interface"))] #[macro_export] macro_rules! entrypoint { ($path:path) => {