Skip to content

Commit acaa73f

Browse files
committed
fix clippy
1 parent 34ba36a commit acaa73f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/hyle.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pub struct Args {
3030
/// Use dhat to profile memory usage
3131
static ALLOC: dhat::Alloc = dhat::Alloc;
3232

33-
#[cfg(feature = "monitoring")]
33+
#[cfg(all(feature = "monitoring", not(feature = "dhat")))]
3434
#[global_allocator]
3535
static GLOBAL_ALLOC: alloc_metrics::MetricAlloc<std::alloc::System> =
3636
alloc_metrics::MetricAlloc::new(std::alloc::System);

0 commit comments

Comments
 (0)