Remove skip-no-mangle entirely (#12696)
This commit is contained in:
@ -53,7 +53,6 @@ macro_rules! entrypoint {
|
||||
};
|
||||
|
||||
/// # 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