Add suppression comments + Suppress lazy_static (#32584)

Co-authored-by: Jonas Zeunert <jonas@zeunert.org>
This commit is contained in:
Erik Hennig 2024-06-23 19:21:16 +02:00 committed by GitHub
parent 62b230e85d
commit 8121c98834
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1 +1,5 @@
leak:style::sharing::SHARING_CACHE_KEY::__init
# intentional Box::leak, introduced here: https://github.com/servo/stylo/blob/f4cde5d89d03db92d111eaa4b4b34e622b6eecac/style/sharing/mod.rs#L481
leak:style::sharing::SHARING_CACHE_KEY::__init
# lazy_static never frees memory because it never runs destructors, see https://docs.rs/lazy_static/1.4.0/lazy_static/index.html#semantics
leak:lazy_static::lazy::Lazy*::get