2

CFI: Support non-general coroutines by maurer · Pull Request #123368 · rust-lang...

 1 month ago
source link: https://github.com/rust-lang/rust/pull/123368
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Conversation

Contributor

Previously, we assumed all ty::Coroutine were general coroutines and attempted to generalize them through the Coroutine trait. Select appropriate traits for each kind of coroutine.

I have this marked as a draft because it currently only fixes async coroutines, and I think it make sense to try to fix gen/async gen coroutines before this is merged.

If the issue mentioned in the original PR is actually affecting someone, we can land this as is to remedy it.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK