mirror of
https://github.com/servo/servo.git
synced 2025-10-01 17:19:16 +01:00
Remove lazy static (#33078)
* remove from rand Mutex<OsRng> can be initialized in compile time. Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * remove from layout_2020 Mutex<()> can be initialize in compile time Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * remove from media `IS_MULTIPROCESS` doesn't be used. Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * remove lazy_static from dependencies Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> * rewrite suppressed_leaks_for_asan.txt For all of lazy_static was replaced with LazyLock. Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com> --------- Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
This commit is contained in:
parent
4b3ed4b684
commit
4cc1b68546
9 changed files with 4 additions and 23 deletions
3
Cargo.lock
generated
3
Cargo.lock
generated
|
@ -3712,7 +3712,6 @@ dependencies = [
|
|||
"icu_segmenter",
|
||||
"ipc-channel",
|
||||
"itertools 0.13.0",
|
||||
"lazy_static",
|
||||
"log",
|
||||
"net_traits",
|
||||
"parking_lot",
|
||||
|
@ -4150,7 +4149,6 @@ dependencies = [
|
|||
"euclid",
|
||||
"fnv",
|
||||
"ipc-channel",
|
||||
"lazy_static",
|
||||
"log",
|
||||
"serde",
|
||||
"servo-media",
|
||||
|
@ -6132,7 +6130,6 @@ dependencies = [
|
|||
name = "servo_rand"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"lazy_static",
|
||||
"log",
|
||||
"rand",
|
||||
"rand_core",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue