/
githubmirror
/
tauri
Обзор
Документация
Войти
/
githubmirror
/
tauri
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
bench/tests/helloworld/src-tauri/src/main.rs
18 строк
563 B
Tony
ci: benchmark on all platforms (#15486)
09 июн 2026, 10:56
Не верифицирован
09 июн 2026, 10:56
6d99a8f
Код
Авторство
О чём код?
// Copyright 2019-2024 Tauri Programme within The Commons Conservancy // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT // The benchmark can't use this or we can't measure the command time // #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] #[tauri::command] fn app_loaded_successfully() { std::process::exit(0); } fn main() { tauri::Builder::default() .invoke_handler(tauri::generate_handler![app_loaded_successfully]) .run(tauri::generate_context!()) .expect("error while running tauri application"); }