Box futures passed to block_on
in debug mode
#6673
Labels
A-tokio
Area: The main tokio crate
C-feature-request
Category: A feature request.
M-task
Module: tokio/task
Tokio currently does this in
spawn
but notblock_on
. For large async main functions this can lead to stack overflows in debug mode, especially on Windows. See astral-sh/uv#4851 for example.The text was updated successfully, but these errors were encountered: