Install Rust in Linux:
sudo apt update && sudo apt -y install curl
curl -sSf https://static.rust-lang.org/rustup.sh | sh
To compile:
rustc hello-world.rs
To run:
./hello-world
- note: using Rust on Windows can be troublesome for now; linker issue ; Visual Studio issue.*
Use bash in Windows 10 if installed.