Skip to content
This repository has been archived by the owner on Oct 10, 2023. It is now read-only.

Rewrite the Debug Menu to use async await #11

Open
CryZe opened this issue Feb 18, 2020 · 0 comments
Open

Rewrite the Debug Menu to use async await #11

CryZe opened this issue Feb 18, 2020 · 0 comments

Comments

@CryZe
Copy link
Owner

CryZe commented Feb 18, 2020

Instead of storing everything in globals and mutating those super unsafely, we can condense everything down to a single global that is the async runtime. The whole debug menu then basically is just a bunch of asynchronous functions that make progress as you click through the menus.

This is currently blocked by the Rust compiler not being able to use async await on core, but this is soon possible: rust-lang/rust#69033

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant