From 2cbab50cfc51452ae3e73e53ea5e1366d868d849 Mon Sep 17 00:00:00 2001 From: kevinheavey Date: Mon, 2 Dec 2024 19:15:15 +0400 Subject: [PATCH] missing cfg_attr --- sdk/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/src/lib.rs b/sdk/src/lib.rs index cef33444e6343b..412c320e3e9b91 100644 --- a/sdk/src/lib.rs +++ b/sdk/src/lib.rs @@ -228,7 +228,7 @@ macro_rules! saturating_add_assign { pub extern crate bs58; extern crate log as logger; -#[cfg_attr(not(target_os = "solana"), macro_use)] +#[cfg_attr(feature = "full", macro_use)] extern crate serde_derive; #[cfg_attr(feature = "frozen-abi", macro_use)]