* Remove skip-no-mangle entirely (#12696)
(cherry picked from commit 41ad3dd8f0
)
# Conflicts:
# account-decoder/Cargo.toml
# core/Cargo.toml
# transaction-status/Cargo.toml
* resolve conflicts
Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
@@ -36,7 +36,6 @@ pub const SUCCESS: u64 = 0;
|
||||
macro_rules! entrypoint {
|
||||
($process_instruction:ident) => {
|
||||
/// # Safety
|
||||
#[cfg(not(feature = "skip-no-mangle"))]
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn entrypoint(input: *mut u8) -> u64 {
|
||||
let (program_id, accounts, instruction_data) =
|
||||
|
@@ -37,7 +37,6 @@ pub const SUCCESS: u64 = 0;
|
||||
macro_rules! entrypoint_deprecated {
|
||||
($process_instruction:ident) => {
|
||||
/// # Safety
|
||||
#[cfg(not(feature = "skip-no-mangle"))]
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn entrypoint(input: *mut u8) -> u64 {
|
||||
let (program_id, accounts, instruction_data) =
|
||||
|
Reference in New Issue
Block a user