Prevent stub inclusion when building shared objects (#10875)

This commit is contained in:
Jack May
2020-07-01 13:15:30 -07:00
committed by GitHub
parent 2669ccb864
commit 52526a9bc2
12 changed files with 17 additions and 10 deletions

View File

@ -26,7 +26,7 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
#[cfg(test)]
mod test {
use super::*;
// Pulls in the stubs required for `info!()`
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]