From dd415182f9135d8f6324ed56d615cab15f3e3f86 Mon Sep 17 00:00:00 2001 From: strawberry Date: Sat, 20 Apr 2024 01:15:51 -0400 Subject: [PATCH] bump hardened_malloc-rs, dont make num_cpus optional, use full debuginfo instead Signed-off-by: strawberry --- Cargo.lock | 4 ++-- Cargo.toml | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0bced2cb..4d08abaf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1000,9 +1000,9 @@ dependencies = [ [[package]] name = "hardened_malloc-rs" -version = "0.1.1+12" +version = "0.1.2+12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40505dfce340c2deec648b3b413c1f484b5b21f2aedb69e3ae68272a5f35d430" +checksum = "647deb1583b14d160f85f3ff626f20b6edd366e3852c9843b06077388f794cb6" [[package]] name = "hashbrown" diff --git a/Cargo.toml b/Cargo.toml index 8fa08393..9aadf621 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -306,7 +306,6 @@ optional = true # used only by rusqlite and rust-rocksdb [dependencies.num_cpus] version = "1.16.0" -optional = true [dependencies.tokio] version = "1.37.0" @@ -319,7 +318,7 @@ sd-notify = { version = "0.4.1", optional = true } # systemd is only availabl [target.'cfg(all(not(target_env = "msvc"), target_os = "linux"))'.dependencies] -hardened_malloc-rs = { version = "0.1", optional = true, features = [ +hardened_malloc-rs = { version = "0.1.2", optional = true, features = [ "static", "gcc", "light", @@ -339,9 +338,9 @@ default = [ ] backend_sqlite = ["sqlite"] backend_rocksdb = ["rocksdb"] -rocksdb = ["rust-rocksdb", "num_cpus"] +rocksdb = ["rust-rocksdb"] jemalloc = ["tikv-jemalloc-ctl", "tikv-jemallocator", "rust-rocksdb/jemalloc"] -sqlite = ["rusqlite", "parking_lot", "thread_local", "num_cpus"] +sqlite = ["rusqlite", "parking_lot", "thread_local"] systemd = ["sd-notify"] sentry_telemetry = ["sentry", "sentry-tracing", "sentry-tower"] @@ -441,7 +440,7 @@ debug = 0 [profile.release-debuginfo] inherits = "release" strip = "none" -debug = "limited" +debug = "full" # high performance release profile which uses fat LTO across all crates, 1 codegen unit, max opt-level, and optimises across all crates