Rust BPF programs depend on Solana SDK (#5819)

This commit is contained in:
Jack May
2019-09-06 09:20:14 -07:00
committed by GitHub
parent 1f9fde5f7b
commit e5f902369c
40 changed files with 187 additions and 146 deletions

View File

@ -1,6 +1,6 @@
//! @brief Example Rust-based BPF program that panics
extern crate solana_sdk_bpf_utils;
extern crate solana_sdk;
#[no_mangle]
pub extern "C" fn entrypoint(_input: *mut u8) -> bool {