Rust BPF programs depend on Solana SDK (#5819)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
//! @brief Example Rust-based BPF program that moves a lamport from one account to another
|
||||
|
||||
extern crate solana_sdk_bpf_utils;
|
||||
use solana_sdk_bpf_utils::entrypoint;
|
||||
use solana_sdk_bpf_utils::entrypoint::*;
|
||||
extern crate solana_sdk;
|
||||
use solana_sdk::entrypoint;
|
||||
use solana_sdk::entrypoint::*;
|
||||
|
||||
entrypoint!(process_instruction);
|
||||
fn process_instruction(ka: &mut [SolKeyedAccount], _info: &SolClusterInfo, _data: &[u8]) -> bool {
|
||||
|
Reference in New Issue
Block a user