misc: remove once_cell; superseded by std::*

We now have types in the Rust standard library.
Dropping the dependency.

I found this by using the `clippy::pedantic` group.

Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
On-behalf-of: SAP philipp.schuster@sap.com
This commit is contained in:
Philipp Schuster
2025-06-20 11:49:39 +02:00
committed by Rob Bradford
parent 100c6d8142
commit 4182ef91e0
16 changed files with 16 additions and 35 deletions

View File

@@ -7981,11 +7981,11 @@ mod common_sequential {
}
mod windows {
use once_cell::sync::Lazy;
use std::sync::LazyLock;
use crate::*;
static NEXT_DISK_ID: Lazy<Mutex<u8>> = Lazy::new(|| Mutex::new(1));
static NEXT_DISK_ID: LazyLock<Mutex<u8>> = LazyLock::new(|| Mutex::new(1));
struct WindowsGuest {
guest: Guest,