MCPcopy Create free account
hub / github.com/faern/rustscript / main

Function main

src/main.rs:30–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28const SCRIPT_BIN_PATH: &'static str = "target/release/bin";
29
30fn main() {
31 if let Err(ref e) = run() {
32 println!("error: {}", e);
33 for e in e.iter().skip(1) {
34 println!("caused by: {}", e);
35 }
36 if let Some(backtrace) = e.backtrace() {
37 println!("backtrace: {:?}", backtrace);
38 }
39 std::process::exit(1);
40 }
41}
42
43fn run() -> Result<()> {
44 let app = create_app();

Callers

nothing calls this directly

Calls 1

runFunction · 0.85

Tested by

no test coverage detected