diff options
author | 2021-12-17 12:59:33 +0100 | |
---|---|---|
committer | 2021-12-17 12:59:33 +0100 | |
commit | 587bf1dbb01f296f08d6624d72186043bfaaa96b (patch) | |
tree | 6560ac0b095880f9c090da8ea83734fef9c84776 | |
parent | 981ce3a8fbf44a9f7a5b046de501c645b4c2098a (diff) | |
download | cortex-m-587bf1dbb01f296f08d6624d72186043bfaaa96b.tar.gz cortex-m-587bf1dbb01f296f08d6624d72186043bfaaa96b.tar.zst cortex-m-587bf1dbb01f296f08d6624d72186043bfaaa96b.zip |
bkpt: nostack
-rw-r--r-- | asm/inline.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/asm/inline.rs b/asm/inline.rs index 1477103..89c5cba 100644 --- a/asm/inline.rs +++ b/asm/inline.rs @@ -11,7 +11,7 @@ use core::sync::atomic::{compiler_fence, Ordering}; #[inline(always)] pub unsafe fn __bkpt() { - asm!("bkpt"); + asm!("bkpt", options(nostack)); } #[inline(always)] |