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 66a4788 commit d9f8105Copy full SHA for d9f8105
core/src/hint.rs
@@ -137,6 +137,11 @@ pub fn spin_loop() {
137
unsafe { crate::arch::arm::__yield() };
138
}
139
140
+
141
+ #[cfg(any(target_arch = "riscv32", target_arch = "riscv64"))]
142
+ {
143
+ crate::arch::riscv::pause();
144
+ }
145
146
147
/// An identity function that *__hints__* to the compiler to be maximally pessimistic about what
stdarch
@@ -1 +1 @@
1
-Subproject commit cfba59fccd90b3b52a614120834320f764ab08d1
+Subproject commit 43b4556c44197af4ef82e42a12dfc513a1397f87
0 commit comments