mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
use current_thread
This commit is contained in:
parent
6a33eb4efa
commit
3388508141
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue