From d639da9d234e4ae6423fc012a6498140396665a3 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 20 Mar 2024 19:14:40 +0000 Subject: [PATCH] Fix new warnings causing CI build failures on rustc beta --- lightning-rapid-gossip-sync/src/processing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning-rapid-gossip-sync/src/processing.rs b/lightning-rapid-gossip-sync/src/processing.rs index 9023b9ba3..b3fae0ffd 100644 --- a/lightning-rapid-gossip-sync/src/processing.rs +++ b/lightning-rapid-gossip-sync/src/processing.rs @@ -19,7 +19,7 @@ use crate::{GraphSyncError, RapidGossipSync}; #[cfg(all(feature = "std", not(test)))] use std::time::{SystemTime, UNIX_EPOCH}; -#[cfg(not(feature = "std"))] +#[cfg(all(not(feature = "std"), not(test)))] use alloc::{vec::Vec, borrow::ToOwned}; /// The purpose of this prefix is to identify the serialization format, should other rapid gossip -- 2.39.5