Remove bloat due to test symbols (#5965)
This commit is contained in:
@ -14,6 +14,9 @@ edition = "2018"
|
||||
[dependencies]
|
||||
solana-sdk = { path = "../../../../sdk/", version = "0.19.0-pre0", default-features = false }
|
||||
|
||||
[dev_dependencies]
|
||||
solana-sdk-bpf-test = { path = "../../../../sdk/bpf/rust/test", version = "0.19.0-pre0" }
|
||||
|
||||
[features]
|
||||
program = ["solana-sdk/program"]
|
||||
default = ["program"]
|
||||
|
@ -60,6 +60,8 @@ fn process_instruction(program_id: &Pubkey, accounts: &mut [AccountInfo], data:
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
// Pulls in the stubs requried for `info!()`
|
||||
solana_sdk_bpf_test::stubs!();
|
||||
|
||||
#[test]
|
||||
fn test_return_sstruct() {
|
||||
|
Reference in New Issue
Block a user