1GETTING STARTED
Let’s start your Rust journey! There’s a lot to learn, but every journey starts somewhere. In this chapter, we’ll discuss:
- Installing Rust on Linux, macOS, and Windows
- Writing a program that prints Hello, world!
- Using cargo, Rust’s package manager and build system
Installation
The first step is to install Rust. We’ll download Rust through rustup, a command line tool for managing Rust versions and associated tools. You’ll need an internet connection for the download.
NOTE
If you prefer not to use rustup for some reason, please see the Rust installation page at https://www.rust-lang.org/tools/install/ for other options.
The ...
Get The Rust Programming Language (Covers Rust 2018) now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.