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]
#![deny(warnings, unused)]
#[allow(unused_extern_crates)]
#[cfg(not(feature = "semihosting"))]
extern crate panic_abort;
use panic_abort as _;
#[cfg(feature = "semihosting")]
extern crate panic_semihosting;
use panic_semihosting as _;
#[macro_use]
extern crate log;
use log::{info, warn};
use core::fmt::Write;
use cortex_m::asm::wfi;