From af8a36b7fb02867c00dc3a9a37a011ab01396909 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 24 Oct 2018 16:49:21 -0700 Subject: [PATCH] Exclude chacha_cuda when chacha is disabled --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e0c140d47f..0636cbdb56 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -19,7 +19,7 @@ pub mod budget_instruction; pub mod budget_transaction; #[cfg(feature = "chacha")] pub mod chacha; -#[cfg(feature = "cuda")] +#[cfg(all(feature = "chacha", feature = "cuda"))] pub mod chacha_cuda; pub mod choose_gossip_peer_strategy; pub mod client;