sdk: Add SyscallStubs to enable syscall interception when building programs for non-BPF (bp #12984) (#12993)
* Add SyscallStubs to enable syscall interception when building programs for non-BPF (cherry picked from commit9c53e1dfb2
) * Remove program_stubs!() (cherry picked from commit6d5889bdb5
) Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user