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")]
|
#[unstable(feature = "renamed_spin_loop", issue = "55002")]
|
||||||
pub fn spin_loop() {
|
pub fn spin_loop() {
|
||||||
+ /*
|
+ /*
|
||||||
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
|
#[cfg(
|
||||||
unsafe {
|
all(
|
||||||
asm!("pause" ::: "memory" : "volatile");
|
any(target_arch = "x86", target_arch = "x86_64"),
|
||||||
@@ -71,4 +72,5 @@ pub fn spin_loop() {
|
@@ -71,4 +72,5 @@ pub fn spin_loop() {
|
||||||
unsafe {
|
unsafe { crate::arch::arm::__yield() };
|
||||||
asm!("yield" ::: "memory" : "volatile");
|
}
|
||||||
}
|
}
|
||||||
+ */
|
+ */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue