This PR fixes the following error when compiling tauri-plugin-context-menu on linux as discussed over on Discord: error[E0433]: failed to resolve: use of undeclared crate or module 'os'
Extended error:
error[E0433]: failed to resolve: use of undeclared crate or module `os`
--> /home/luca/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-plugin-context-menu-0.5.0/src/lib.rs:60:9
|
60 | os::show_context_menu(context_menu, window, pos, items);
| ^^ use of undeclared crate or module `os`
For more information about this error, try `rustc --explain E0433`.
error: could not compile `tauri-plugin-context-menu` (lib) due to previous error
This PR fixes the following error when compiling
tauri-plugin-context-menu
on linux as discussed over on Discord:error[E0433]: failed to resolve: use of undeclared crate or module 'os'
Extended error: