error[E0277]: `std::sync::mpsc::Sender<hotkey::linux::Message>` cannot be shared between threads safely
--> src/main.rs:39:23
|
39 | static HOTKEY_SYSTEM: RwLock<Option<HotkeySystem>> = RwLock::new(None);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `std::sync::mpsc::Sender<hotkey::linux::Message>` cannot be shared between threads safely
|
= help: within `std::option::Option<HotkeySystem>`, the trait `Sync` is not implemented for `std::sync::mpsc::Sender<hotkey::linux::Message>`
= note: required because it appears within the type `Hook`
= note: required because it appears within the type `HotkeySystem`
= note: required because it appears within the type `std::option::Option<HotkeySystem>`
= note: required for `RwLock<std::option::Option<HotkeySystem>>` to implement `Sync`
= note: shared static variables must have a type that implements `Sync`
Attempted an initial build of the druid app, and received this
Attempted an initial build of the druid app, and received this