We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34ba36a commit acaa73fCopy full SHA for acaa73f
src/bin/hyle.rs
@@ -30,7 +30,7 @@ pub struct Args {
30
/// Use dhat to profile memory usage
31
static ALLOC: dhat::Alloc = dhat::Alloc;
32
33
-#[cfg(feature = "monitoring")]
+#[cfg(all(feature = "monitoring", not(feature = "dhat")))]
34
#[global_allocator]
35
static GLOBAL_ALLOC: alloc_metrics::MetricAlloc<std::alloc::System> =
36
alloc_metrics::MetricAlloc::new(std::alloc::System);
0 commit comments