From 58ee35daadf2650e6b20769f380f660468cf7f10 Mon Sep 17 00:00:00 2001 From: Parker TenBroeck <51721964+ParkerTenBroeck@users.noreply.github.com> Date: Mon, 13 Jun 2022 17:39:31 -0400 Subject: [PATCH] fixed test dependency not being present for tests on nightly --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index ee9c8d5..42e9121 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -92,7 +92,7 @@ #![cfg_attr(all(feature = "no_std", not(test)), no_std)] -#[cfg(all(nightly, not(feature = "no_std"), not(test)))] extern crate test; +#[cfg(all(nightly, test))] extern crate test; #[allow(unused)] use core::{