Skip to Main Content
The Rust Programming Language
book

The Rust Programming Language

by Steve Klabnik, Carol Nichols
July 2018
Intermediate to advanced content levelIntermediate to advanced
552 pages
13h 50m
English
No Starch Press
Content preview from The Rust Programming Language

1GETTING STARTED

image

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/install.html for other options.

The following ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming WebAssembly with Rust

Programming WebAssembly with Rust

Kevin Hoffman
Programming Rust

Programming Rust

Jim Blandy, Jason Orendorff
The Rust Programming Language, 2nd Edition

The Rust Programming Language, 2nd Edition

Steve Klabnik, Carol Nichols

Publisher Resources

ISBN: 9781492067665Errata Page