forked from M-Labs/artiq
1
0
Fork 0

satman: fix feature

This commit is contained in:
occheung 2021-07-22 16:30:33 +08:00
parent 45adaa1d98
commit 6535b2f089
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#![feature(never_type, panic_implementation, panic_info_message, const_slice_len, try_from)]
#![feature(never_type, panic_info_message, llvm_asm)]
#![no_std]
#[macro_use]
@ -672,7 +672,7 @@ pub extern fn abort() {
}
#[no_mangle] // https://github.com/rust-lang/rust/issues/{38281,51647}
#[panic_implementation]
#[panic_handler]
pub fn panic_fmt(info: &core::panic::PanicInfo) -> ! {
#[cfg(has_error_led)]
unsafe {