Tokio: Be consistent about threaded vs basic scheduler in v0.3

Created on 25 Jul 2020  ·  2Comments  ·  Source: tokio-rs/tokio

Currently Runtime::new() and #[tokio::main] will make their choice about the kind of runtime by inspecting the rt-threaded flag. This should be changed in Tokio v0.3, and code uses #[tokio::main] without rt-threaded should probably error with a suggestion to enable the feature or to use the basic scheduler.

We should also overhaul the runtime builder.

A-tokio C-bug M-runtime

Most helpful comment

Superseded by #2698

2698 is this very issue :D. For posterity, I believe the correct superseding issue is #2720.

All 2 comments

Superseded by #2698

Superseded by #2698

2698 is this very issue :D. For posterity, I believe the correct superseding issue is #2720.

Was this page helpful?
0 / 5 - 0 ratings