Panic filename (#4625)

automerge
This commit is contained in:
Jack May
2019-06-10 11:00:15 -07:00
committed by Grimes
parent 1fa31c9410
commit 9f6496d38a
13 changed files with 129 additions and 75 deletions

View File

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