From 99df0c8cb489076beaf0f92c6040636a1c6d7b81 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Sun, 2 Jun 2024 20:22:42 +0000 Subject: [PATCH] Fix async-io bug --- src/stack.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stack.rs b/src/stack.rs index 020c777..ebbe700 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", not(feature = "async-io-mini")))] + #[cfg(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