From c50a465f2ca2567a18f95f0512fd84264c68b3ed Mon Sep 17 00:00:00 2001 From: Arvid Gerstmann Date: Tue, 15 Oct 2024 12:26:56 +0000 Subject: [PATCH] fix: disable `unsync` if not required --- ferrunix-core/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ferrunix-core/src/types.rs b/ferrunix-core/src/types.rs index 3af5ef6..a1e5752 100644 --- a/ferrunix-core/src/types.rs +++ b/ferrunix-core/src/types.rs @@ -58,7 +58,7 @@ mod sync { } /// Types that are enabled when the `multithread` feature is **NOT** set. -// #[cfg(not(feature = "multithread"))] +#[cfg(not(feature = "multithread"))] mod unsync { use std::any::Any;