mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
This is another step preparing for building Servo without `mach`. Fixes #33430. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
26 lines
640 B
TOML
26 lines
640 B
TOML
[package]
|
|
name = "servo_allocator"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
license.workspace = true
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
use-system-allocator = ["libc"]
|
|
|
|
[target.'cfg(not(any(windows, target_env = "ohos")))'.dependencies]
|
|
tikv-jemallocator = { workspace = true }
|
|
tikv-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 }
|