Replace lazy_static crate with std::sync::LazyLock in layout and config (#33065)

* replace in layout_thread_2020

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>

* replace in layout_thread

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>

* replace in layout

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>

* replace in config

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>

* replace in config_plugins

The macro of config_plugins require Send trait bounds

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>

---------

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
This commit is contained in:
Hayashi Mikihiro 2024-08-16 01:28:04 +09:00 committed by GitHub
parent c01b733523
commit 016ff5dfa6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 43 additions and 65 deletions

4
Cargo.lock generated
View file

@ -3663,7 +3663,6 @@ dependencies = [
"fonts_traits",
"html5ever",
"ipc-channel",
"lazy_static",
"log",
"malloc_size_of",
"malloc_size_of_derive",
@ -3755,7 +3754,6 @@ dependencies = [
"histogram",
"ipc-channel",
"layout_2013",
"lazy_static",
"log",
"malloc_size_of",
"metrics",
@ -3794,7 +3792,6 @@ dependencies = [
"fxhash",
"ipc-channel",
"layout_2020",
"lazy_static",
"log",
"malloc_size_of",
"metrics",
@ -6099,7 +6096,6 @@ dependencies = [
"embedder_traits",
"euclid",
"getopts",
"lazy_static",
"log",
"num_cpus",
"serde",