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