Closed ReptoxX closed 5 months ago
When trying to update the utility to the newest version, it fails with the error message in the title.
error: future cannot be sent between threads safely --> daemon/src/main.rs:283:22 | 283 | tokio::spawn(spawn_http_server( | ______________________^ 284 | | usb_tx.clone(), 285 | | httpd_tx, 286 | | broadcast_tx.clone(), 287 | | http_settings.clone(), 288 | | file_paths.clone(), 289 | | )); | |_________^ future returned by `spawn_http_server` is not `Send`
I'm using yay for updating all apps/packages.
yay
Make sure you're running the latest version of rust (rustup update) should fix it.
rustup update
Oh thanks for the fast answer. Apparently it's a different update mechanism.
When trying to update the utility to the newest version, it fails with the error message in the title.
I'm using
yay
for updating all apps/packages.