From 518a4f8be8b37090a26b1865174385a0ac9f865a Mon Sep 17 00:00:00 2001 From: kevinheavey Date: Fri, 11 Oct 2024 12:17:24 +0400 Subject: [PATCH] add missing #[cfg(not(target_os = "solana"))] --- sdk/transaction-context/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/transaction-context/src/lib.rs b/sdk/transaction-context/src/lib.rs index 33b94adade2f5b..7200889bd2124f 100644 --- a/sdk/transaction-context/src/lib.rs +++ b/sdk/transaction-context/src/lib.rs @@ -23,6 +23,7 @@ use { }; // Inlined to avoid solana_program dep +#[cfg(not(target_os = "solana"))] const MAX_PERMITTED_DATA_LENGTH: u64 = 10 * 1024 * 1024; #[cfg(test)] static_assertions::const_assert_eq!(