Skip to content

Commit 8b71608

Browse files
stianeklundjonas-schievink
authored andcommitted
Use #!cfg_attr for inline_asm
This fixes the previous commit where the #![feature()] flag was used by mistake.
1 parent d09c183 commit 8b71608

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#![feature(llvm_asm)]
21
//! Low level access to Cortex-M processors
32
//!
43
//! This crate provides:
@@ -30,7 +29,7 @@
3029
//! This crate is guaranteed to compile on stable Rust 1.31 and up. It *might*
3130
//! compile with older versions but that may change in any new patch release.
3231
33-
#![cfg_attr(feature = "inline-asm", feature(asm))]
32+
#![cfg_attr(feature = "inline-asm", feature(llvm_asm))]
3433
#![deny(missing_docs)]
3534
#![no_std]
3635
#![allow(clippy::identity_op)]

0 commit comments

Comments
 (0)