Rust BPF programs depend on Solana SDK (#5819)
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
//! @brief Example Rust-based BPF program tests loop iteration
|
||||
|
||||
extern crate solana_sdk_bpf_utils;
|
||||
extern crate solana_sdk;
|
||||
|
||||
use solana_sdk_bpf_utils::log::*;
|
||||
use solana_sdk::log::*;
|
||||
|
||||
pub fn many_args(
|
||||
arg1: u64,
|
||||
|
@@ -1,8 +1,8 @@
|
||||
//! @brief Example Rust-based BPF program tests loop iteration
|
||||
|
||||
mod helper;
|
||||
extern crate solana_sdk_bpf_utils;
|
||||
use solana_sdk_bpf_utils::info;
|
||||
extern crate solana_sdk;
|
||||
use solana_sdk::info;
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn entrypoint(_input: *mut u8) -> bool {
|
||||
|
Reference in New Issue
Block a user