Hacker News new | past | comments | ask | show | jobs | submit login

That's technically something the runtime implementation can choose, but for Tokio, the most common runtime, the sibling comment is correct that the only way to avoid having to explicitly define it is to use an annotation on the main function (which just generates the call to instantiate the runtime via a macro).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: