CodeCompiler
F
main.rs
>_
Live Console
Click Run to start

Rust Online Compiler

Write, Run & Share Rust code online using OneCompiler's free Rust editor. Rust is a systems language focused on safety, speed, and concurrency.

About Rust

Rust prevents segfaults and guarantees thread safety through its ownership model — without a garbage collector.

Hello World

fn main() {
    println!("Hello, World!");
}