Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

This is the Rust course used by the Android team at Google. It provides you the material to quickly teach Rust.

License

NotificationsYou must be signed in to change notification settings

google/comprehensive-rust

Build workflowGitHub contributorsGitHub stars

This repository has the source code for Comprehensive Rust 🦀, a multi-day Rustcourse developed by the Android team. The course covers all aspects of Rust,from basic syntax to generics and error handling. It also includes deep dives onAndroid,Chromium,bare-metal, andconcurrency.

Read the course athttps://google.github.io/comprehensive-rust/.

Course Format and Target Audience

The course is used internally at Google when teaching Rust to experiencedsoftware engineers. They typically have a background in C++ or Java.

The course is taught in a classroom setting and we hope it will be useful forothers who want to teach Rust to their team. The course will be less useful forself-study since you miss out on the discussions happening in the classroom. Youdon't see the questions and answers and you don't see the compiler errors wetrigger when going through the code samples. We hope to improve on this viaspeaker notes and bypublishing videos.

Press

Articles and blog posts from around the web which cover Comprehensive Rust:

Building

The course is built using a few tools:

In addition,mdbook-linkcheck checksthe internal links.

First install Rust by following the instructions onhttps://rustup.rs/. Thenclone this repository:

git clone https://github.com/google/comprehensive-rust/cd comprehensive-rust

Then install these tools with:

cargo xtask install-tools

Run

mdbooktest

to test all included Rust snippets. Run

mdbook serve

to start a web server with the course. You'll find the content onhttp://localhost:3000. You can usemdbook build to create a static versionof the course in thebook/ directory. Note that you have to separately buildand zip exercises and add them tobook/html. To build any of the translatedversions of the course, runMDBOOK_BOOK__LANGUAGE=xx mdbook build -d book/xxwherexx is the ISO 639 language code (e.g.da for the Danish translation).TRANSLATIONS.md contains further instructions.

Note On Windows, you need to enable symlinks(git config --global core.symlinks true) and Developer Mode.

Contributing

We would like to receive your contributions. Please seeCONTRIBUTING.md for details.

Contact

For questions or comments, please contactMartin Geisler or start adiscussion on GitHub.We would love to hear from you.


[8]ページ先頭

©2009-2025 Movatter.jp