crosvm/cros_async
Daniel Verkamp 9901c7509c cros_async: switch to std::hint::spin_loop
Replace the deprecated std::sync::spin_loop_hint with
std::hint::spin_loop.

Fixes this new warning from Rust 1.51:

  warning: use of deprecated function `std::sync::atomic::spin_loop_hint`:
  use hint::spin_loop instead

BUG=None
TEST=bin/clippy

Change-Id: Ic975c77ea19bcf256f73c0b3b89f85866abfe0bb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2864362
Reviewed-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2021-05-06 22:06:52 +00:00
..
src cros_async: switch to std::hint::spin_loop 2021-05-06 22:06:52 +00:00
.build_test_skip build_test: misc options, improvements, amd bug fixes 2020-10-15 13:40:32 +00:00
Cargo.toml remove dependencies on syscall_defines 2021-04-21 21:01:38 +00:00