Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
rustc-dev-guide.rust-lang.org
(WIP) Testing The debug info test suite is undergoing a substantial rewrite. This section will be filled out as the rewrite makes progress. Please see this tracking issue for more information.
Guide to Rustc Development Book 2024-01-01 ~1 min read
rustc-dev-guide.rust-lang.org
Debugging support in the Rust compiler This document explains the state of debugging tools support in the Rust compiler (rustc). It gives an overview of GDB, LLDB, WinDbg/CDB, as well as infrastructure around Rust compiler to debug Rust cod...
Guide to Rustc Development Book 2024-01-01 ~11 min read
rustc-dev-guide.rust-lang.org
Libraries and metadata When the compiler sees a reference to an external crate, it needs to load some information about that crate. This chapter gives an overview of that process, and the supported file formats for crate libraries. Librarie...
Guide to Rustc Development Book 2024-01-01 ~5 min read
rustc-dev-guide.rust-lang.org
Profile-guided optimization rustc supports doing profile-guided optimization (PGO). This chapter describes what PGO is and how the support for it is implemented in rustc. What is profiled-guided optimization? The basic concept of PGO is to...
Guide to Rustc Development Book 2024-01-01 ~3 min read
rustc-dev-guide.rust-lang.org
LLVM source-based code coverage rustc supports detailed source-based code and test coverage analysis with a command line option (-C instrument-coverage) that instruments Rust libraries and binaries with additional instructions and data, at...
Guide to Rustc Development Book 2024-01-01 ~3 min read
rustc-dev-guide.rust-lang.org
Sanitizers support The rustc compiler contains support for following sanitizers: • AddressSanitizer a faster memory error detector. Can detect out-of-bounds access to heap, stack, and globals, use after free, use after return, double free,...
Guide to Rustc Development Book 2024-01-01 ~2 min read
rustc-dev-guide.rust-lang.org
Background topics This section covers a numbers of common compiler terms that arise in this guide. We try to give the general definition while providing some Rust-specific context. What is a control-flow graph? A control-flow graph (CFG) is...
Guide to Rustc Development Book 2024-01-01 ~8 min read
rustc-dev-guide.rust-lang.org
Glossary Term | Meaning -----------------------------------------------|-------- 1-ZST | A one-aligned zero-sized type. A type of size zero with an alignment of one. arena, arena allocation | An arena is a large memory buffer from which oth...
Guide to Rustc Development Book 2024-01-01 ~15 min read
rustc-dev-guide.rust-lang.org
Code Index rustc has a lot of important data structures. This is an attempt to give some guidance on where to learn more about some of the key data structures of the compiler. Item | Kind | Short description | Chapter | Declaration --------...
Guide to Rustc Development Book 2024-01-01 ~2 min read
rustc-dev-guide.rust-lang.org
Compiler Lecture Series These are videos where various experts explain different parts of the compiler: General • January 2019: Tom Tromey discusses debugging support in rustc • June 2019: Responsive compilers - Nicholas Matsakis - PLISS 20...
Guide to Rustc Development Book 2024-01-01 ~1 min read
rustc-dev-guide.rust-lang.org
Rust Bibliography This is a reading list of material relevant to Rust. It includes prior research that has - at one time or another - influenced the design of Rust, as well as publications about Rust. Type system • Alias burying - We tried...
Guide to Rustc Development Book 2024-01-01 ~2 min read
rustc-dev-guide.rust-lang.org
Humor in Rust What's a project without a sense of humor? And frankly some of these are enlightening? • Weird exprs test • Ferris Rap • The Genesis of Generic Germination • The Bastion of the Turbofish test • Rust Koans • break rust; • The N...
Guide to Rustc Development Book 2024-01-01 ~1 min read
rustc-dev-guide.rust-lang.org Archived: primary link replaced with an archive on 2026-09-12T16:45:55.407Z (UTC; replacement date, not snapshot date)
Pre-stabilization testing of new solver and polonius alpha on CI We want to improve the continuous test coverage of next solver and polonius alpha with a goal to stabilize them in 2026. To achieve this, we need to ensure these unstable feat...
Guide to Rustc Development Book 2024-01-01 ~1 min read
rustc-dev-guide.rust-lang.org
Pre-stabilization testing of the next solver and polonius alpha on CI We want to improve the continuous test coverage of next solver and polonius alpha with a goal to stabilize them in 2026. To achieve this, we need to ensure these unstable...
Guide to Rustc Development Book 2024-01-01 ~1 min read
rustc-dev-guide.rust-lang.org
Well-Formedness What is Well-Formedness? "Well-formed" means "correctly built."[^wf-history] Something is well-formed when its structure follows rules. When we use this term in the Rust compiler we are concerned with establishing some kind...
Guide to Rustc Development Book 2024-01-01 ~10 min read
rustc-dev-guide.rust-lang.org
Autodiff CI job The optional-x86_64-gnu-autodiff job provides continuous test coverage for the experimental autodiff feature and its integration with LLVM Enzyme. It is an optional auto job, so a failure does not prevent a pull request from...
Guide to Rustc Development Book 2024-01-01 ~1 min read
rustc-dev-guide.rust-lang.org
Working with LLMs This section is a list of guidelines for working with LLMs, as well as a summary of the moderation policy. This is not the policy itself; see Forge. If the two conflict, Forge is canonical. If you are writing code using an...
Guide to Rustc Development Book 2024-01-01 ~1 min read
rustc-dev-guide.rust-lang.org
Writing LLM-created code LLMs are a valuable tool, but one that is easy to misuse. The main risks are overwhelming volume and lack of understanding. When writing your PR, keep in mind that there is a person on the other end who needs to rev...
Guide to Rustc Development Book 2024-01-01 ~5 min read
rustc-dev-guide.rust-lang.org
Reviewing with LLMs Using an LLM to review code • If a more reliable tool, such as a linter or formatter, already exists for the language you're writing, we strongly suggest using that tool instead of or in addition to the LLM. • Configure...
Guide to Rustc Development Book 2024-01-01 ~4 min read
rustc-dev-guide.rust-lang.org
Standard library semantic versioning breakage check The x86_64-gnu-stdlib-semver-check job runs the cargo-semver-checks (c-s-c) tool on the standard library (core, alloc and std) in order to find potential unintended semantic versioning (se...
Guide to Rustc Development Book 2024-01-01 ~1 min read
"This is actually just Rust adding support for C++-style duck-typed templates, and the long and mostly-irrelevant information contained in the ICE mess..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.