servo/components/background_hang_monitor
Simon Wülker c059bab6f4
Dont use lazy static to construct mutexes (#33047)
* Remove usage of lazy-static in background_hang_monitor

The lazy-static crate was only used to construct a mutex,
but since Mutex::new is const this can be done at compiletime
instead.

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

* Remove usage of lazy-static in servoshell

Lazy-static was only used to construct a mutex, but
since Mutex::new is const this can simply be done at
compiletime.

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2024-08-14 13:42:01 +00:00
..
tests Dont use lazy static to construct mutexes (#33047) 2024-08-14 13:42:01 +00:00
background_hang_monitor.rs ohos: Fix x86_64-unknown-linux-ohos (#33029) 2024-08-14 01:30:04 +00:00
Cargo.toml Dont use lazy static to construct mutexes (#33047) 2024-08-14 13:42:01 +00:00
lib.rs ohos: Fix x86_64-unknown-linux-ohos (#33029) 2024-08-14 01:30:04 +00:00
sampler.rs build: Fix build warnings on Windows (#32500) 2024-06-15 14:31:36 +00:00
sampler_linux.rs clippy: fix warnings in various modules in components (#31568) 2024-03-08 14:28:04 +00:00
sampler_mac.rs Fix clippy warnings in components/third_party (#31623) 2024-03-12 17:17:23 +00:00
sampler_windows.rs deps: Switch from winapi to windows_sys in Servo code (#32516) 2024-06-17 08:27:50 +00:00