File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,6 @@ futures-channel = { workspace = true }
5151futures-util = { workspace = true }
5252rustc-hash = { workspace = true }
5353
54- # Crash handler
55- rfd = { workspace = true }
56-
5754# Performance
5855hotpath = { workspace = true }
5956
@@ -66,6 +63,10 @@ tray-icon = { workspace = true, optional = true }
6663# Clipboard
6764freya-clipboard = { workspace = true }
6865
66+ [target .'cfg(not(target_os = "android"))' .dependencies ]
67+ # Crash handler
68+ rfd = { workspace = true }
69+
6970[target .'cfg(target_os = "linux")' .dependencies ]
7071gtk = { version = " 0.18.2" , optional = true }
7172
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ pub mod tray {
4646pub fn launch ( launch_config : LaunchConfig ) {
4747 use std:: collections:: HashMap ;
4848
49- #[ cfg( not( debug_assertions) ) ]
49+ #[ cfg( all ( not( debug_assertions) , not ( target_os = "android" ) ) ) ]
5050 {
5151 let previous_hook = std:: panic:: take_hook ( ) ;
5252 std:: panic:: set_hook ( Box :: new ( move |panic_info| {
You can’t perform that action at this time.
0 commit comments