blob: ce771760de972ff6d69724e2e77e14d2a1d7aa48 [file] [log] [blame]
#![feature(asm, lang_items, naked_functions)]
#![cfg_attr(any(target_arch = "arm", target_arch = "riscv32"), no_std)]
#![cfg_attr(feature = "alloc", feature(alloc_error_handler))]
#[cfg(feature = "alloc")]
mod alloc;
mod entry_point;
#[cfg(any(target_arch = "arm", target_arch = "riscv32"))]
mod lang_items;
#[cfg(feature = "alloc_init")]
extern "Rust" {
fn libtock_alloc_init(app_heap_start: usize, app_heap_size: usize);
}
pub mod callback;
pub mod debug;
pub mod memop;
pub mod result;
pub mod shared_memory;
pub mod syscalls;
pub mod unwind_symbols;