Remove program_stubs!()
This commit is contained in:
parent
9c53e1dfb2
commit
6d5889bdb5
|
@ -53,8 +53,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_entrypoint() {
|
fn test_entrypoint() {
|
||||||
|
|
|
@ -85,8 +85,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_entrypoint() {
|
fn test_entrypoint() {
|
||||||
|
|
|
@ -20,8 +20,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_entrypoint() {
|
fn test_entrypoint() {
|
||||||
|
|
|
@ -67,8 +67,6 @@ fn process_instruction(
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_return_sstruct() {
|
fn test_return_sstruct() {
|
||||||
|
|
|
@ -365,8 +365,6 @@ fn process_instruction(
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn create_program_address_is_defined() {
|
fn create_program_address_is_defined() {
|
||||||
|
|
|
@ -194,6 +194,3 @@ fn process_instruction(
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
|
@ -21,8 +21,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_entrypoint() {
|
fn test_entrypoint() {
|
||||||
|
|
|
@ -29,8 +29,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_entrypoint() {
|
fn test_entrypoint() {
|
||||||
|
|
|
@ -51,8 +51,6 @@ pub fn many_args_sret(
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_many_args() {
|
fn test_many_args() {
|
||||||
|
|
|
@ -26,8 +26,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_entrypoint() {
|
fn test_entrypoint() {
|
||||||
|
|
|
@ -27,8 +27,6 @@ impl<'a> TestDep {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_dep() {
|
fn test_dep() {
|
||||||
|
|
|
@ -38,8 +38,6 @@ fn process_instruction(
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_ristretto() {
|
fn test_ristretto() {
|
||||||
|
|
|
@ -67,8 +67,6 @@ fn process_instruction(
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_return_sstruct() {
|
fn test_return_sstruct() {
|
||||||
|
|
|
@ -25,8 +25,6 @@ pub extern "C" fn entrypoint(_input: *mut u8) -> u64 {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use super::*;
|
use super::*;
|
||||||
// Pull in syscall stubs when building for non-BPF targets
|
|
||||||
solana_sdk::program_stubs!();
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_sha256() {
|
fn test_sha256() {
|
||||||
|
|
Loading…
Reference in New Issue