Remove skip-no-mangle entirely (#12696)

This commit is contained in:
Jack May
2020-10-07 09:13:48 -07:00
committed by GitHub
parent 7b18f4c5fc
commit 41ad3dd8f0
5 changed files with 4 additions and 6 deletions

View File

@ -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) =

View File

@ -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) =