use std::process::ExitCode; fn main() -> ExitCode { // `std::env::args()` panics on non-UTF-8 arguments; use the lossy OS form so // arbitrary commit messages and revision names degrade to text instead of // aborting the process. let args: Vec = std::env::args_os() .skip(1) .map(|argument| argument.to_string_lossy().into_owned()) .collect(); ExitCode::from(veins_rust::cli::run(&args)) }