Empowering everyone to build reliable and efficient software. https://www.rust-lang.org
Find a file
bors bcf3d36c99 Auto merge of #154092 - JonathanBrouwer:rollup-GKNFJe0, r=JonathanBrouwer
Rollup of 19 pull requests

Successful merges:

 - rust-lang/rust#152870 (Do not enable split debuginfo for windows-gnu)
 - rust-lang/rust#153333 (Fix bootstrap rust build failure for vxworks)
 - rust-lang/rust#153681 (ci: add runners for vanilla LLVM 22)
 - rust-lang/rust#153727 (When single impl can satisfy inference error, suggest type)
 - rust-lang/rust#153824 (Add `Wake` diagnostic item for `alloc::task::Wake`)
 - rust-lang/rust#154077 (Optimize 128-bit integer formatting)
 - rust-lang/rust#154078 (`define_callbacks` tweaks)
 - rust-lang/rust#151905 (Split the `dec2flt::RawFloat` trait for easier reuse)
 - rust-lang/rust#153170 (Add is_disconnected functions to mpsc and mpmc channels)
 - rust-lang/rust#153308 (Add hygiene annotations for tokens in `macro_rules!` bodies)
 - rust-lang/rust#153557 (fix inference variables leaking into HIR const literal lowering logic)
 - rust-lang/rust#153804 (Derive Macro Eq: link to more detailed documentation)
 - rust-lang/rust#153913 (Fix some suggestions of the `for-loops-over-fallibles` lint)
 - rust-lang/rust#153974 (Point at return type when it is the source of the type expectation)
 - rust-lang/rust#153987 (mGCA: Lower const generic args to infer when needed)
 - rust-lang/rust#154018 (simplify and remove `tests/ui/kindck` and related tests)
 - rust-lang/rust#154036 (borrowck/type_check: remove helper left-over from unsized locals)
 - rust-lang/rust#154038 (merge `regions-outlives-nominal-type-*` tests into one file)
 - rust-lang/rust#154041 (bootstrap: Allow `--bless`ing changes to editor settings files)
2026-03-19 18:03:58 +00:00
.github
compiler Auto merge of #154092 - JonathanBrouwer:rollup-GKNFJe0, r=JonathanBrouwer 2026-03-19 18:03:58 +00:00
library Rollup merge of #153804 - DanielEScherzer:derive-eq-docs, r=Mark-Simulacrum 2026-03-19 13:42:36 +01:00
LICENSES
src Rollup merge of #154041 - ferrocene:jyn/bless-hashes, r=jieyouxu 2026-03-19 13:42:43 +01:00
tests Auto merge of #154092 - JonathanBrouwer:rollup-GKNFJe0, r=JonathanBrouwer 2026-03-19 18:03:58 +00:00
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.ignore
.mailmap
bootstrap.example.toml
Cargo.lock
Cargo.toml
CODE_OF_CONDUCT.md
configure
CONTRIBUTING.md
COPYRIGHT
INSTALL.md
LICENSE-APACHE
license-metadata.json
LICENSE-MIT
package.json
README.md
RELEASES.md
REUSE.toml
rust-bors.toml
rustfmt.toml
triagebot.toml
typos.toml
x
x.ps1
x.py
yarn.lock

This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.

Why Rust?

  • Performance: Fast and memory-efficient, suitable for critical services, embedded devices, and easily integrated with other languages.

  • Reliability: Our rich type system and ownership model ensure memory and thread safety, reducing bugs at compile-time.

  • Productivity: Comprehensive documentation, a compiler committed to providing great diagnostics, and advanced tooling including package manager and build tool (Cargo), auto-formatter (rustfmt), linter (Clippy) and editor support (rust-analyzer).

Quick Start

Read "Installation" from The Book.

Installing from Source

If you really want to install from source (though this is not recommended), see INSTALL.md.

Getting Help

See https://www.rust-lang.org/community for a list of chat platforms and forums.

Contributing

See CONTRIBUTING.md.

For a detailed explanation of the compiler's architecture and how to begin contributing, see the rustc-dev-guide.

License

Rust is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.

Trademark

The Rust Foundation owns and protects the Rust and Cargo trademarks and logos (the "Rust Trademarks").

If you want to use these names or brands, please read the Rust language trademark policy.

Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.