10dac51c6f
## Proposed Changes Add `mallinfo2` behind a feature flag so that we can get accurate memory metrics during debugging. It can be enabled when building Lighthouse like so (so long as the platform supports it): ``` cargo install --path lighthouse --features "malloc_utils/mallinfo2" ```
17 lines
373 B
TOML
17 lines
373 B
TOML
[package]
|
|
name = "malloc_utils"
|
|
version = "0.1.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
lighthouse_metrics = { path = "../lighthouse_metrics" }
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2.79"
|
|
parking_lot = "0.11.0"
|
|
|
|
[features]
|
|
mallinfo2 = []
|