You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: usage of an `Arc` that is not `Send` or `Sync`
--> core/tauri-runtime-wry/src/lib.rs:2658:24
|
2658 | items: Arc::new(Mutex::new(items)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the trait `Send` is not implemented for `Mutex<HashMap<u16, CustomMenuItem>>`
= note: the trait `Sync` is not implemented for `Mutex<HashMap<u16, CustomMenuItem>>`
= note: required for `Arc<Mutex<HashMap<u16, CustomMenuItem>>>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
error: usage of an `Arc` that is not `Send` or `Sync`
--> core/tauri-runtime-wry/src/lib.rs:2107:18
|
2107 | items: Arc::new(Mutex::new(items)),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: the trait `Send` is not implemented for `Mutex<HashMap<u16, CustomMenuItem>>`
= note: the trait `Sync` is not implemented for `Mutex<HashMap<u16, CustomMenuItem>>`
= note: required for `Arc<Mutex<HashMap<u16, CustomMenuItem>>>` to implement `Send` and `Sync`
= help: consider using an `Rc` instead or wrapping the inner type with a `Mutex`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync
= note: `-D clippy::arc-with-non-send-sync` implied by `-D warnings`