Add rust bpf allocator (#4426)

This commit is contained in:
Jack May
2019-05-24 16:21:42 -07:00
committed by GitHub
parent 8611b40074
commit bfa1c025fd
17 changed files with 401 additions and 49 deletions

View File

@ -1,7 +1,13 @@
//! @brief Solana Rust-based BPF program utility functions and types
#![no_std]
#![feature(allocator_api)]
#![feature(alloc_error_handler)]
pub mod alloc;
pub mod entrypoint;
pub mod log;
pub mod panic;
#[global_allocator]
static A: alloc::Allocator = alloc::Allocator;