tokio: Stabilize LocalRuntime#7557
Conversation
83f5586 to
4f436e0
Compare
|
I think the |
|
|
Relevant to this: #6741 |
|
I think it's better to add description of |
|
Hi @Daksh14, are you willing to re-open this PR? Based on #6739 (comment), I think we can continue this work. |
4f436e0 to
5f9867f
Compare
5f9867f to
958aea4
Compare
|
|
||
| [dependencies] | ||
| tokio-macros = { version = "~2.6.0", optional = true } | ||
| tokio-macros = { path = "../tokio-macros", optional = true } |
There was a problem hiding this comment.
I'm expecting that to make this work we should add also the version here, and then add a path dev dependency to Tokio in tokio-macros/Cargo.toml like it was done in this PR. Once we release the new changes we can remove the path deps.
There was a problem hiding this comment.
Since the other PR was merged, this is now included here since I merged in master.
Motivation
After
LocalRuntimewas implemented as per the issue #6739 I think its time to stabilize it so we don't need to set theRUSTFLAGSwhen using itSolution
Remove cfg unstable in docs and places where it was initially implemented, I have tested the macro
And using it just like