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

docs: incorrect feature requirements for test and main macros #2798

Closed
Riateche opened this issue Aug 28, 2020 · 2 comments
Closed

docs: incorrect feature requirements for test and main macros #2798

Riateche opened this issue Aug 28, 2020 · 2 comments
Labels
A-tokio Area: The main tokio crate C-bug Category: This is a bug. M-runtime Module: tokio/runtime

Comments

@Riateche
Copy link
Contributor

The documentation for these macros says: (link)

This is supported on feature="rt-threaded" and feature="macros" only.

But rt-threaded is not actually required. rt-core is enough.

@Riateche Riateche added A-tokio Area: The main tokio crate C-bug Category: This is a bug. labels Aug 28, 2020
@Darksonn Darksonn added the M-runtime Module: tokio/runtime label Aug 28, 2020
@Darksonn
Copy link
Contributor

This will be fixed by #2720.

@taiki-e
Copy link
Member

taiki-e commented Mar 27, 2021

Closing -- fixed: https://docs.rs/tokio/1.4.0/tokio/#attributes

@taiki-e taiki-e closed this as completed Mar 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tokio Area: The main tokio crate C-bug Category: This is a bug. M-runtime Module: tokio/runtime
Projects
None yet
Development

No branches or pull requests

3 participants