Skip to main content

run_source

Function run_source 

Source
pub fn run_source(source: &str) -> Result<(), String>
Expand description

Runs Rust source code directly without compilation.

If the source contains a fn main(), it will be called automatically.