parent
8cc863ea6c
commit
6dbba86cc6
|
@ -8,10 +8,10 @@
|
||||||
|
|
||||||
extern crate compiler_builtins;
|
extern crate compiler_builtins;
|
||||||
|
|
||||||
pub mod alloc;
|
pub mod allocator;
|
||||||
pub mod entrypoint;
|
pub mod entrypoint;
|
||||||
pub mod log;
|
pub mod log;
|
||||||
pub mod panic;
|
pub mod panic;
|
||||||
|
|
||||||
#[global_allocator]
|
#[global_allocator]
|
||||||
static A: alloc::Allocator = alloc::Allocator;
|
static A: allocator::Allocator = allocator::Allocator;
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
//! @brief Solana Rust-based BPF program panic handling
|
//! @brief Solana Rust-based BPF program panic handling
|
||||||
|
|
||||||
use crate::log::*;
|
|
||||||
use core::fmt::{self, Write};
|
|
||||||
use core::panic::PanicInfo;
|
use core::panic::PanicInfo;
|
||||||
|
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
|
|
Loading…
Reference in New Issue