mirror of https://github.com/m-labs/artiq.git
satman: fix feature
This commit is contained in:
parent
45adaa1d98
commit
6535b2f089
|
@ -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]
|
#![no_std]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
@ -672,7 +672,7 @@ pub extern fn abort() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle] // https://github.com/rust-lang/rust/issues/{38281,51647}
|
#[no_mangle] // https://github.com/rust-lang/rust/issues/{38281,51647}
|
||||||
#[panic_implementation]
|
#[panic_handler]
|
||||||
pub fn panic_fmt(info: &core::panic::PanicInfo) -> ! {
|
pub fn panic_fmt(info: &core::panic::PanicInfo) -> ! {
|
||||||
#[cfg(has_error_led)]
|
#[cfg(has_error_led)]
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
Loading…
Reference in New Issue