Skip to content

Commit

Permalink
add missing #[cfg(not(target_os = "solana"))]
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinheavey committed Oct 15, 2024
1 parent df9f8d8 commit 6b718a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/transaction-context/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down

0 comments on commit 6b718a4

Please sign in to comment.