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

Function main

src/main.rs:3–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1use rustpython::{InterpreterBuilder, InterpreterBuilderExt};
2
3pub fn main() -> std::process::ExitCode {
4 let mut config = InterpreterBuilder::new();
5 #[cfg(feature = "stdlib")]
6 {
7 config = config.init_stdlib();
8 }
9 rustpython::run(config)
10}

Callers

nothing calls this directly

Calls 3

newFunction · 0.85
init_stdlibMethod · 0.80
runFunction · 0.70

Tested by

no test coverage detected