tauri入门

superadmin · 2026/11/4

  • tauri中没有打印rust日志

需要加上

not(debug_assertions)
#![cfg_attr(
    all(
        target_os = "windows",
        feature = "desktop",
        not(debug_assertions)
    ),
    windows_subsystem = "windows"
)]