core_intrinsics attr need to be in the lib crate

This commit is contained in:
Robert Jördens 2021-02-03 15:26:13 +01:00
parent 5945cfca75
commit c557348523
4 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,6 @@
#![deny(warnings)]
#![no_std]
#![no_main]
#![cfg_attr(feature = "nightly", feature(core_intrinsics))]
use stm32h7xx_hal as hal;

View File

@ -1,7 +1,6 @@
#![deny(warnings)]
#![no_std]
#![no_main]
#![cfg_attr(feature = "nightly", feature(core_intrinsics))]
use stm32h7xx_hal as hal;

View File

@ -1,7 +1,6 @@
#![deny(warnings)]
#![no_std]
#![no_main]
#![cfg_attr(feature = "nightly", feature(core_intrinsics))]
use dsp::{iir_int, lockin::Lockin, Accu};
use hardware::{Adc1Input, Dac0Output, Dac1Output, AFE0, AFE1};

View File

@ -1,4 +1,5 @@
#![no_std]
#![cfg_attr(feature = "nightly", feature(core_intrinsics))]
#[macro_use]
extern crate log;