From 989ee762aab9e4289a642483b59afdd59d7f1b35 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 04b3541c8032a9..b56018a623cce8 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!(