mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
24 lines
600 B
TOML
24 lines
600 B
TOML
[package]
|
|
name = "servo_allocator"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
use-system-allocator = ["libc"]
|
|
|
|
[target.'cfg(not(any(windows, target_env = "ohos")))'.dependencies]
|
|
jemallocator = { workspace = true }
|
|
jemalloc-sys = { workspace = true }
|
|
libc = { 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 }
|