followup safety checks for #23295

This commit is contained in:
Trent Nelson
2022-02-23 19:44:43 -07:00
committed by Trent Nelson
parent d1f141484e
commit 5e0086c1ee
2 changed files with 35 additions and 17 deletions

View File

@ -97,6 +97,14 @@ pub use solana_sdk_macro::pubkeys;
#[rustversion::since(1.46.0)]
pub use solana_sdk_macro::respan;
#[deprecated(
since = "1.9.0",
note = "use only to break https://github.com/rust-lang/rust/issues/92987. remove when we move to Rust 1.60.0"
)]
#[doc(hidden)]
#[cfg(debug_assertions)]
pub trait AutoTraitBreakSendSync: Send + Sync {}
// Unused `solana_sdk::program_stubs!()` macro retained for source backwards compatibility with older programs
#[macro_export]
#[deprecated(