Files
OpenSK/third_party/lang-items/src/lib.rs
2020-09-22 13:14:33 +02:00

17 lines
390 B
Rust

#![cfg_attr(not(feature = "std"), no_std)]
#![feature(alloc_error_handler)]
#[cfg(not(feature = "std"))]
mod allocator;
#[cfg(not(feature = "std"))]
mod panic_handler;
#[cfg(not(feature = "std"))]
mod util;
#[cfg(feature = "std")]
#[no_mangle]
unsafe fn libtock_alloc_init(_app_heap_start: usize, _app_heap_size: usize) {
// Stub so that the symbol is present.
unimplemented!()
}