Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

入门

Getting Started

让我们开始你的 Rust 旅程吧!有很多东西需要学习,但每段旅程都有起点。在本章中,我们将讨论:

Let’s start your Rust journey! There’s a lot to learn, but every journey starts somewhere. In this chapter, we’ll discuss:

  • 在 Linux、macOS 和 Windows 上安装 Rust

  • Installing Rust on Linux, macOS, and Windows

  • 编写一个打印 Hello, world! 的程序

  • Writing a program that prints Hello, world!

  • 使用 cargo,Rust 的包管理器和构建系统

  • Using cargo, Rust’s package manager and build system