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 29, 2024
1 parent 27c0c6c commit f30e79e
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 f30e79e

Please sign in to comment.