/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
components/allocator/Cargo.toml
33 строки
992 B
Jonathan Schwender
allocator: Enable jemalloc stats feature (#47047)
07 авг 2026, 09:04
Не верифицирован
07 авг 2026, 09:04
df0cbe4
Код
Авторство
О чём код?
[package] name = "servo-allocator" version.workspace = true authors.workspace = true license.workspace = true edition.workspace = true publish.workspace = true rust-version.workspace = true repository.workspace = true description.workspace = true [lib] path = "lib.rs" [features] allocation-tracking = ["backtrace", "dep:rustc-hash", "log"] use-jemalloc = ["dep:tikv-jemalloc-sys", "dep:tikv-jemallocator"] [dependencies] backtrace = { workspace = true, optional = true } log = { workspace = true, optional = true } rustc-hash = { workspace = true, optional = true } [target.'cfg(not(any(windows, target_env = "ohos")))'.dependencies] libc = { workspace = true } tikv-jemalloc-sys = { workspace = true, optional = true, features = ["stats"] } tikv-jemallocator = { workspace = true, optional = true } [target.'cfg(windows)'.dependencies] windows-sys = { workspace = true, features = ["Win32_System_Memory"] } [target.'cfg(target_env = "ohos")'.dependencies] libc = { workspace = true }