How are we supposed to run coroutines?

As the entry point (the main function) cannot be async, is there any way to call a coroutine from a syncron context?
Here just an easy example code what I'm testing and trying to do:
async fn test():
    print("test")

fn main():
    await test()
Was this page helpful?