MCPcopy Index your code
hub / github.com/endbasic/endbasic / main

Function main

std/examples/script-runner.rs:63–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61}
62
63fn main() {
64 // We must ensure that all destructors run (in particular, the console's destructor) before
65 // exiting. `process:exit` doesn't do that for us, so wrap the program's code into a separate
66 // function so that we can guarantee that the destructors have run here.
67 process::exit(safe_main());
68}

Callers

nothing calls this directly

Calls 1

safe_mainFunction · 0.85

Tested by

no test coverage detected