logoalt Hacker News

comextoday at 3:18 AM1 replyview on HN

They are not perfectly fine. If a task panics then you will get the right stack trace, but there is no way to get a stack trace for a task that’s currently waiting. (At least not without intrusive hacks.)


Replies

tcfhgjtoday at 11:18 AM

Would this be considered an intrusive hack?

https://docs.rs/tokio/latest/%20tokio/runtime/struct.Handle....