From e108ba8904fcdaf3e6cfd828da20f8ed78f7c3c7 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Tue, 16 Jan 2024 16:01:02 +0000 Subject: [PATCH] fix feature flags --- proxy/src/logging.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/logging.rs b/proxy/src/logging.rs index f28f8c4b7e..2524e8c38b 100644 --- a/proxy/src/logging.rs +++ b/proxy/src/logging.rs @@ -28,7 +28,7 @@ pub async fn init() -> anyhow::Result { let reg = tracing_subscriber::registry(); - #[cfg(feature = "tokio-console")] + #[cfg(all(tokio_unstable, feature = "tokio-console"))] let reg = reg.with(console_subscriber::spawn()); reg.with(env_filter)