We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ee966 commit 78bf5c9Copy full SHA for 78bf5c9
src/asm.rs
@@ -38,7 +38,7 @@ pub fn delay(_n: u32) {
38
() => unsafe {
39
llvm_asm!("1:
40
nop
41
- subs $0, $$1
+ subs $0, #1
42
bne.n 1b"
43
: "+r"(_n / 4 + 1)
44
:
@@ -81,7 +81,6 @@ pub fn nop() {
81
}
82
83
84
-
85
/// Generate an Undefined Instruction exception.
86
///
87
/// Can be used as a stable alternative to `core::intrinsics::abort`.
0 commit comments