diff --git a/sdk/src/lib.rs b/sdk/src/lib.rs index 7f85986bc0cfca..bb54881d2001d2 100644 --- a/sdk/src/lib.rs +++ b/sdk/src/lib.rs @@ -235,7 +235,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)]