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

Function main

crates/venvlauncher/src/main.rs:15–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13use std::process::ExitCode;
14
15fn main() -> ExitCode {
16 match run() {
17 Ok(code) => ExitCode::from(code as u8),
18 Err(e) => {
19 eprintln!("venvlauncher error: {}", e);
20 ExitCode::from(1)
21 }
22 }
23}
24
25fn run() -> Result<u32, Box<dyn core::error::Error>> {
26 // 1. Get own executable path

Callers

nothing calls this directly

Calls 1

runFunction · 0.70

Tested by

no test coverage detected