Rust


Hello Rust

run(`rustc --version`)
rustc 1.66.0 (69f9c33d7 2022-12-12)
rscode = raw"""
fn main(){
	println!("Hello Rust from Julia runtime");
}
"""

open(`rustc -o sample -`, "w") do f
    print(f, rscode)
end

run(`./sample`)

fn main(){
    println!("Hello Rust from Julia runtime");
}

Hello Rust from Julia runtime