rust edition 2018 delint

This commit is contained in:
Astro 2019-04-27 15:23:50 +02:00
parent fdcbeae74f
commit 70236a2060

View File

@ -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;