diff --git a/src/lib.rs b/src/lib.rs index 6825751..7f0e0ce 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,6 @@ //! Definitions of register addresses and bits within those registers #![feature(asm)] -#![feature(no_core)] #![feature(const_fn)] #![feature(associated_consts)] #![feature(associated_type_defaults)] @@ -10,10 +9,6 @@ #![feature(panic_handler)] #![feature(unwind_attributes)] -#![no_core] - -#![no_std] - pub use self::register::{Register, RegisterBits, RegisterValue}; pub use self::pin::{DataDirection, Pin}; diff --git a/src/prelude.rs b/src/prelude.rs index a5e529e..5683120 100644 --- a/src/prelude.rs +++ b/src/prelude.rs @@ -1,4 +1,6 @@ //! Re-exports commonly-used APIs that can be imported at once. +use core::prelude::v1::*; + pub use interrupt::without_interrupts;