blob: d84d06088ba359d2fa2331c1587b8d01191c2f1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: busy-waiting loop should at least have a spin loop hint
--> $DIR/missing_spin_loop_no_std.rs:12:37
|
LL | while b.load(Ordering::Acquire) {}
| ^^ help: try: `{ core::hint::spin_loop() }`
|
= note: `-D clippy::missing-spin-loop` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::missing_spin_loop)]`
error: aborting due to 1 previous error
|