mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-27 23:21:06 +03:00
refact: rust backtrace logs (#13467)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -70,6 +70,10 @@ fn initialize(app_dir: &str, custom_client_config: &str) {
|
||||
init_from_env(Env::default().filter_or(DEFAULT_FILTER_ENV, "debug"));
|
||||
crate::common::test_nat_type();
|
||||
}
|
||||
#[cfg(any(target_os = "android", target_os = "ios"))]
|
||||
{
|
||||
let _ = crate::common::global_init();
|
||||
}
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
{
|
||||
// core_main's init_log does not work for flutter since it is only applied to its load_library in main.c
|
||||
|
||||
Reference in New Issue
Block a user