Remove program_stubs!()

This commit is contained in:
Michael Vines 2020-10-19 12:32:20 -07:00 committed by mergify[bot]
parent 9c53e1dfb2
commit 6d5889bdb5
14 changed files with 0 additions and 29 deletions

View File

@ -53,8 +53,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_entrypoint() {

View File

@ -85,8 +85,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_entrypoint() {

View File

@ -20,8 +20,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_entrypoint() {

View File

@ -67,8 +67,6 @@ fn process_instruction(
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_return_sstruct() {

View File

@ -365,8 +365,6 @@ fn process_instruction(
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn create_program_address_is_defined() {

View File

@ -194,6 +194,3 @@ fn process_instruction(
Ok(())
}
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();

View File

@ -21,8 +21,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_entrypoint() {

View File

@ -29,8 +29,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_entrypoint() {

View File

@ -51,8 +51,6 @@ pub fn many_args_sret(
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_many_args() {

View File

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

View File

@ -27,8 +27,6 @@ impl<'a> TestDep {
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_dep() {

View File

@ -38,8 +38,6 @@ fn process_instruction(
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_ristretto() {

View File

@ -67,8 +67,6 @@ fn process_instruction(
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_return_sstruct() {

View File

@ -25,8 +25,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
#[cfg(test)]
mod test {
use super::*;
// Pull in syscall stubs when building for non-BPF targets
solana_sdk::program_stubs!();
#[test]
fn test_sha256() {