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.
hint::spin_loop
atomic::spin_loop_hint
1 parent 679eaa1 commit cd497a9Copy full SHA for cd497a9
Changelog.md
@@ -1,5 +1,7 @@
1
# Unreleased
2
3
+- Use stabilized `hint::spin_loop` instead of deprecated `atomic::spin_loop_hint`
4
+
5
# 0.2.10 – 2020-10-01
6
7
- Fix default feature breakage ([#11](https://github.com/rust-osdev/uart_16550/pull/11))
src/lib.rs
@@ -27,7 +27,7 @@ use x86_64::instructions::port::Port;
27
macro_rules! wait_for {
28
($cond:expr) => {
29
while !$cond {
30
- core::sync::atomic::spin_loop_hint()
+ core::hint::spin_loop()
31
}
32
};
33
0 commit comments