From 0d11b5d294a26126141fad16e2bb1ccdb33ebea8 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Sun, 2 Jun 2024 17:37:55 +0000 Subject: [PATCH] Bugfix --- src/stack.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stack.rs b/src/stack.rs index ceed781..020c777 100644 --- a/src/stack.rs +++ b/src/stack.rs @@ -48,7 +48,7 @@ pub fn init_async_io() -> Result<(), esp_idf_svc::sys::EspError> { #[cold] #[cfg(feature = "std")] async fn init_async_io_async() { - #[cfg(all(feature = "async-io-mini", not(feature = "async-io-mini")))] + #[cfg(all(feature = "async-io", not(feature = "async-io-mini")))] { // Force the `async-io` lazy initialization to trigger earlier rather than later, // as it consumes a lot of temp stack memory