From ada3ec3e5d29836f81540a7292448afd15338a19 Mon Sep 17 00:00:00 2001 From: Zach Showalter Date: Mon, 12 Feb 2024 16:34:10 -0500 Subject: [PATCH] Change chainspec cfg statement to allow it to compile with either std or testing feature flags as opposed to BOTH std and testing or test --- types/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/src/lib.rs b/types/src/lib.rs index deb521c3a1..c3639c72de 100644 --- a/types/src/lib.rs +++ b/types/src/lib.rs @@ -30,7 +30,7 @@ mod block; mod block_time; mod byte_code; pub mod bytesrepr; -#[cfg(any(all(feature = "std", feature = "testing"), test))] +#[cfg(any(feature = "std", test))] mod chainspec; pub mod checksummed_hex; mod cl_type;