return exit code rust code example Example: return exit code rust use std::process; process::exit(1);