From 72fc261d8c92207a970d792811f1e080eb1e8a58 Mon Sep 17 00:00:00 2001 From: kevinheavey Date: Wed, 4 Dec 2024 13:53:42 +0400 Subject: [PATCH] fix unused macro_use --- 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 2e977f560177aa..8da104f734abbb 100644 --- a/sdk/src/lib.rs +++ b/sdk/src/lib.rs @@ -225,7 +225,7 @@ macro_rules! saturating_add_assign { }}; } -#[macro_use] +#[cfg_attr(not(target_os = "solana"), macro_use)] extern crate serde_derive; pub extern crate bs58; extern crate log as logger;