mirror of https://github.com/m-labs/artiq.git
bootloader: fix panic
Signed-off-by: occheung <dc@m-labs.hk>
This commit is contained in:
parent
8294d7fea5
commit
448fe0e8cf
|
@ -1,5 +1,5 @@
|
|||
#![no_std]
|
||||
#![feature(panic_implementation, panic_info_message)]
|
||||
#![feature(panic_info_message)]
|
||||
|
||||
extern crate crc;
|
||||
extern crate byteorder;
|
||||
|
@ -532,7 +532,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 {
|
||||
|
|
Loading…
Reference in New Issue