Rustup to rustc 1.35.0-nightly (0576ac109
2019-03-24)
This commit is contained in:
parent
a715c79263
commit
f1432c0e2d
1 changed files with 5 additions and 5 deletions
|
@ -16,12 +16,12 @@ index ad5a207..04712b8 100644
|
|||
#[unstable(feature = "renamed_spin_loop", issue = "55002")]
|
||||
pub fn spin_loop() {
|
||||
+ /*
|
||||
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
|
||||
unsafe {
|
||||
asm!("pause" ::: "memory" : "volatile");
|
||||
#[cfg(
|
||||
all(
|
||||
any(target_arch = "x86", target_arch = "x86_64"),
|
||||
@@ -71,4 +72,5 @@ pub fn spin_loop() {
|
||||
unsafe {
|
||||
asm!("yield" ::: "memory" : "volatile");
|
||||
unsafe { crate::arch::arm::__yield() };
|
||||
}
|
||||
}
|
||||
+ */
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue