use current_thread

This commit is contained in:
Evan Cameron 2021-02-28 22:09:46 -05:00
parent 6a33eb4efa
commit 3388508141
No known key found for this signature in database
GPG key ID: 6878FBDAB459783C

View file

@ -452,7 +452,7 @@ fn setup(args: &[String]) -> Setup {
} }
} }
#[tokio::main] #[tokio::main(flavor = "current_thread")]
async fn main() { async fn main() {
if env::var("RUST_BACKTRACE").is_err() { if env::var("RUST_BACKTRACE").is_err() {
env::set_var("RUST_BACKTRACE", "full") env::set_var("RUST_BACKTRACE", "full")