Skip to content

Commit

Permalink
Remove deprecated program_stubs macro
Browse files Browse the repository at this point in the history
  • Loading branch information
CriesofCarrots committed Jul 1, 2024
1 parent 9c98547 commit 82b630e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,16 +156,6 @@ pub use solana_sdk_macro::pubkey;
/// Convenience macro to define multiple static public keys.
pub use solana_sdk_macro::pubkeys;

// Unused `solana_sdk::program_stubs!()` macro retained for source backwards compatibility with older programs
#[macro_export]
#[deprecated(
since = "1.4.3",
note = "program_stubs macro is obsolete and can be safely removed"
)]
macro_rules! program_stubs {
() => {};
}

/// Convenience macro for `AddAssign` with saturating arithmetic.
/// Replace by `std::num::Saturating` once stable
#[macro_export]
Expand Down

0 comments on commit 82b630e

Please sign in to comment.