| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/RustPython/RustPython/main/src/main.rs | [Back] [Original] |
use rustpython::{InterpreterBuilder, InterpreterBuilderExt};
#[cfg(feature = "mimalloc")]
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
#[must_use]
pub fn main() -> std::process::ExitCode {
let mut config = InterpreterBuilder::new();
#[cfg(feature = "stdlib")]
{
config = config.init_stdlib();
}
rustpython::run(config)
}
| Web Proxy Viewer | New URL | Original Page |