diff options
author | 2020-05-05 14:16:33 +0200 | |
---|---|---|
committer | 2020-05-05 14:16:33 +0200 | |
commit | 7e551e6978536f7889b04d754a2e890993281a94 (patch) | |
tree | ea8579eb68940059a0f7f48ca33c45fdbd9d8ac7 | |
parent | ba7496c5bffeb31cc206f24de3c35b6cf7ae962c (diff) | |
download | cortex-m-7e551e6978536f7889b04d754a2e890993281a94.tar.gz cortex-m-7e551e6978536f7889b04d754a2e890993281a94.tar.zst cortex-m-7e551e6978536f7889b04d754a2e890993281a94.zip |
Use #!cfg_attr for inline_asm
This fixes the previous commit where the #![feature()]
flag was used by mistake.
-rw-r--r-- | src/lib.rs | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,3 @@ -#![feature(llvm_asm)] //! Low level access to Cortex-M processors //! //! This crate provides: @@ -30,7 +29,7 @@ //! This crate is guaranteed to compile on stable Rust 1.31 and up. It *might* //! compile with older versions but that may change in any new patch release. -#![cfg_attr(feature = "inline-asm", feature(asm))] +#![cfg_attr(feature = "inline-asm", feature(llvm_asm))] #![deny(missing_docs)] #![no_std] #![allow(clippy::identity_op)] |