21 lines
628 B
Rust
21 lines
628 B
Rust
// file: crates/apps/game-snake-poc-tauri/src/main.rs
|
|
// version: 1
|
|
|
|
//! Binary entry point for host-side Snake Tauri checks.
|
|
|
|
#![forbid(unsafe_code)]
|
|
#![deny(unreachable_pub)]
|
|
#![warn(missing_docs)]
|
|
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
|
|
|
|
fn main() -> std::process::ExitCode {
|
|
let result = game_snake_poc_tauri_lib::run();
|
|
return match result {
|
|
std::result::Result::Ok(()) => std::process::ExitCode::SUCCESS,
|
|
std::result::Result::Err(error) => {
|
|
eprintln!("Snake Tauri application error: {error}");
|
|
std::process::ExitCode::FAILURE
|
|
},
|
|
};
|
|
}
|