break dependency of programs on solana core (#1371)

* break dependency of programs on Solana core
This commit is contained in:
jackcmay
2018-09-27 07:49:26 -07:00
committed by GitHub
parent 874addc51a
commit 9c47e022dc
44 changed files with 95 additions and 66 deletions

View File

@@ -13,8 +13,7 @@ authors = [
]
[dependencies]
libloading = "0.5.0"
solana = { path = "../.." }
solana_program_interface = { path = "../../common" }
[lib]
name = "noop"

View File

@@ -1,6 +1,6 @@
extern crate solana;
extern crate solana_program_interface;
use solana::account::KeyedAccount;
use solana_program_interface::account::KeyedAccount;
#[no_mangle]
pub extern "C" fn process(_infos: &mut Vec<KeyedAccount>, _data: &[u8]) {}