mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 12:34:31 +00:00
9901c7509c
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> |
||
---|---|---|
.. | ||
src | ||
.build_test_skip | ||
Cargo.toml |