mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
44d185b0d0
This should assist comprehending the size of coroutines. In particular, whenever a future is suspended while awaiting another future, the latter is given the special name `__awaitee`, and now the type of the awaited future will be printed, allowing identifying caller/callee — er, I mean, poller/pollee — relationships. It would be possible to include the type name in more cases, but I thought that that might be overly verbose (`print-type-sizes` is already a lot of text) and ordinary named fields or variables are easier for readers to discover the types of. |
||
---|---|---|
.. | ||
async-awaiting-fut.rs | ||
async-awaiting-fut.stdout | ||
future-as-arg.rs | ||
large-arg.rs | ||
large-arg.stdout |