Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macros: re-export main macro from tokio #1198

Merged
merged 3 commits into from
Jun 26, 2019
Merged

Conversation

carllerche
Copy link
Member

Includes minor fixes and a very basic example.

Fixes #1183
Refs: #1185

Includes minor fixes and a very basic example.

Fixes #1183
#[proc_macro_attribute]
#[cfg(not(test))]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is required to work around rust-lang/rust#62127

@carllerche carllerche merged commit dc5fa80 into master Jun 26, 2019
@carllerche carllerche deleted the re-export-main-macro branch June 27, 2019 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

macros: provide #[tokio::main] macro
2 participants