24 lines
427 B
Rust
24 lines
427 B
Rust
#![no_std]
|
|
//#![feature(core_intrinsics)]
|
|
//#![feature(alloc_error_handler)]
|
|
|
|
use fungi_common::prelude::*;
|
|
|
|
/*#[panic_handler]
|
|
#[no_mangle]
|
|
pub fn panic(_info: &core::panic::PanicInfo) -> ! {
|
|
core::intrinsics::abort()
|
|
}*/
|
|
|
|
/*#[alloc_error_handler]
|
|
#[no_mangle]
|
|
pub fn oom(_: core::alloc::Layout) -> ! {
|
|
core::intrinsics::abort();
|
|
}*/
|
|
|
|
pub mod prelude {
|
|
use crate::*;
|
|
|
|
//pub use fungi_runtime_interface_macro::export_fn;
|
|
}
|