1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//! Contains simple implementations of required language items that `libstd` normally defines on //! other targets. #![no_std] #![feature(lang_items)] #[lang = "eh_personality"] #[no_mangle] pub unsafe extern "C" fn rust_eh_personality() -> () { } #[panic_handler] fn panic(_info: &::core::panic::PanicInfo) -> ! { loop {} }