Remove skip-no-mangle entirely (bp #12696) (#12708)

* 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:
mergify[bot]
2020-10-09 20:44:50 +00:00
committed by GitHub
parent 41b99b96c0
commit b34ba0fc4e
5 changed files with 4 additions and 6 deletions

View File

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

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