MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / main

Function main

splashsurf/src/bin/splashsurf.rs:1–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1fn main() -> Result<(), anyhow::Error> {
2 /*
3 // Panic hook for easier debugging
4 panic::set_hook(Box::new(|panic_info| {
5 println!("Panic occurred: {}", panic_info);
6 println!("Add breakpoint here for debugging.");
7 }));
8 */
9
10 std::process::exit(
11 match splashsurf::cli::run_splashsurf(std::env::args_os().collect::<Vec<_>>().as_slice()) {
12 Ok(_) => 0,
13 Err(_) => 1,
14 },
15 );
16}

Callers

nothing calls this directly

Calls 1

run_splashsurfFunction · 0.85

Tested by

no test coverage detected