Pull program stubs into SDK (#10704)

This commit is contained in:
Jack May
2020-06-18 23:23:28 -07:00
committed by GitHub
parent 6d81eede93
commit d77818c18b
33 changed files with 28 additions and 102 deletions

View File

@ -15,9 +15,6 @@ edition = "2018"
solana-sdk = { path = "../../../../sdk/", version = "1.3.0", default-features = false }
solana-bpf-rust-param-passing-dep = { path = "../param_passing_dep", version = "1.3.0" }
[dev_dependencies]
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "1.3.0" }
[features]
program = ["solana-sdk/program"]
default = ["program"]

View File

@ -27,7 +27,7 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
mod test {
use super::*;
// Pulls in the stubs required for `info!()`
solana_sdk_bpf_test::stubs!();
solana_sdk::program_stubs!();
#[test]
fn test_entrypoint() {