chore: replace lazy_static with std::sync::LazyLock (#8815)
Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
This commit is contained in:
@@ -90,10 +90,9 @@ impl TestReport {
|
||||
}
|
||||
}
|
||||
|
||||
lazy_static::lazy_static! {
|
||||
static ref TEST_REPORT: Arc<TestReport> = TestReport::new();
|
||||
static ref ENV_LOCK: Mutex<()> = Mutex::new(());
|
||||
}
|
||||
static TEST_REPORT: std::sync::LazyLock<Arc<TestReport>> =
|
||||
std::sync::LazyLock::new(TestReport::new);
|
||||
static ENV_LOCK: std::sync::LazyLock<Mutex<()>> = std::sync::LazyLock::new(|| Mutex::new(()));
|
||||
|
||||
struct ProviderFixture {
|
||||
name: String,
|
||||
|
||||
Reference in New Issue
Block a user