Rust is a ahead of time compile language. What is llvm the power behind swift rust clang and more
fn main() {
// ! means it's a macro
println!("Hello, World!");
}
Terminal
rustc HelloWorld.rs
// bakes the cake
././HelloWorld
-
Cargo - build system and package manager for rust
-
Make me own Cargo
cargo new hello_cargo
Create executable file
cargo build