mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
ac36ad85a7
Instead use C-level malloc()/free() so that the size doesn’t need to be known during deallocation, since FreeType doesn’t provide it. Hopefully fixes https://github.com/servo/servo/issues/19058 Depends on https://github.com/alexcrichton/jemallocator/pull/21 Source-Repo: https://github.com/servo/servo Source-Revision: f18099118a5be17b5b1d6fdcc3352a98a1499e6a --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 8087ee658a0ca822c6cdc85c00cfc8984b1fa668
22 lines
513 B
TOML
22 lines
513 B
TOML
[package]
|
|
name = "servo_allocator"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
publish = false
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
unstable = ["kernel32-sys", "jemallocator"]
|
|
|
|
[dependencies]
|
|
libc = "0.2" # Only used when 'unstable' is disabled, but looks like Cargo cannot express that.
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
jemallocator = { version = "0.1.4", optional = true }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
kernel32-sys = { version = "0.2.1", optional = true }
|