Move process_instruction defs to runtime (#12507)

This commit is contained in:
Jack May
2020-09-29 01:36:46 -07:00
committed by GitHub
parent 322dbd894f
commit 2ff983647f
11 changed files with 176 additions and 183 deletions

View File

@@ -1,4 +1,5 @@
//! Native loader
use crate::process_instruction::{InvokeContext, LoaderEntrypoint};
#[cfg(unix)]
use libloading::os::unix::*;
#[cfg(windows)]
@@ -8,7 +9,7 @@ use num_derive::{FromPrimitive, ToPrimitive};
use solana_sdk::{
account::{next_keyed_account, KeyedAccount},
decode_error::DecodeError,
entrypoint_native::{InvokeContext, LoaderEntrypoint, ProgramEntrypoint},
entrypoint_native::ProgramEntrypoint,
instruction::InstructionError,
pubkey::Pubkey,
};