aboutsummaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
authorGravatar Robert Jördens <rj@quartiq.de> 2021-12-16 15:16:30 +0100
committerGravatar Robert Jördens <rj@quartiq.de> 2021-12-16 15:19:23 +0100
commitdd72f11186f6a815db495ed41636879b7db9614f (patch)
tree271e895f85e0c482fa2f70c2b07986cc18fa7bb7 /asm
parentae1d2a62d895dc458784c465e021a010cb75a8b1 (diff)
downloadcortex-m-dd72f11186f6a815db495ed41636879b7db9614f.tar.gz
cortex-m-dd72f11186f6a815db495ed41636879b7db9614f.tar.zst
cortex-m-dd72f11186f6a815db495ed41636879b7db9614f.zip
asm/inline: explicitly use asm macro
removed from prelude in current nightly https://github.com/rust-lang/rust/pull/91728 close #371 Signed-off-by: Robert Jördens <rj@quartiq.de>
Diffstat (limited to 'asm')
-rw-r--r--asm/inline.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/asm/inline.rs b/asm/inline.rs
index 5887baf..1307499 100644
--- a/asm/inline.rs
+++ b/asm/inline.rs
@@ -7,6 +7,7 @@
//! applicable.
use core::sync::atomic::{compiler_fence, Ordering};
+use core::arch::asm;
#[inline(always)]
pub unsafe fn __bkpt() {