rust edition 2018 delint
This commit is contained in:
parent
fdcbeae74f
commit
70236a2060
@ -2,14 +2,12 @@
|
|||||||
#![no_main]
|
#![no_main]
|
||||||
#![deny(warnings, unused)]
|
#![deny(warnings, unused)]
|
||||||
|
|
||||||
#[allow(unused_extern_crates)]
|
|
||||||
#[cfg(not(feature = "semihosting"))]
|
#[cfg(not(feature = "semihosting"))]
|
||||||
extern crate panic_abort;
|
use panic_abort as _;
|
||||||
#[cfg(feature = "semihosting")]
|
#[cfg(feature = "semihosting")]
|
||||||
extern crate panic_semihosting;
|
use panic_semihosting as _;
|
||||||
|
|
||||||
#[macro_use]
|
use log::{info, warn};
|
||||||
extern crate log;
|
|
||||||
|
|
||||||
use core::fmt::Write;
|
use core::fmt::Write;
|
||||||
use cortex_m::asm::wfi;
|
use cortex_m::asm::wfi;
|
||||||
|
Loading…
Reference in New Issue
Block a user