bors 2c39ff4994 Auto merge of #161196 - JonathanBrouwer:rollup-JHCyFaw, r=JonathanBrouwer
Rollup of 17 pull requests

Successful merges:

 - rust-lang/rust#161017 (Library: enforce clippy deref lints in CI)
 - rust-lang/rust#160416 (std: fix unix socket address truncation without a trailing NUL)
 - rust-lang/rust#161006 ([CI] Build newer `binutils` before building `gcc`)
 - rust-lang/rust#161141 (Add documentation for BPF targets)
 - rust-lang/rust#161157 (bootstrap: Move several items out of the crate root)
 - rust-lang/rust#161185 (std: guard against unwinds in queue-based `Once`)
 - rust-lang/rust#161186 (miri subtree update)
 - rust-lang/rust#159855 (std: retry waitid on EINTR in the pidfd wait path)
 - rust-lang/rust#160478 (diagnostics: Suggest fn binding type for unstable closure for<> binders)
 - rust-lang/rust#161053 (Add regression test for borrow of array drop type in const)
 - rust-lang/rust#161073 (Add regression test for path printing with infinitely many visible names)
 - rust-lang/rust#161099 (Add regression test for unstable def_ident_span fingerprint with incremental recompilation)
 - rust-lang/rust#161103 (cleanup: rip out unnecessary `iter().last()` and `iter().next()`)
 - rust-lang/rust#161136 (Add BPF test for Rust ABI stack arguments)
 - rust-lang/rust#161146 (Switch to c8a EC2 runner for auto merges)
 - rust-lang/rust#161148 ([rustdoc] Put back one removed flaky GUI test (which hopefully isn't flaky anymore))
 - rust-lang/rust#161181 (Add back flaky gui rustdoc test `tests/rustdoc-gui/headers-color.goml`)
2026-08-16 21:56:28 +00:00
…
…
…
…
2026-08-13 06:57:40 +02:00
…
…
…

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.

Description
Empowering everyone to build reliable and efficient software.
Readme 1.1 GiB
Languages
Rust 95.8%
Shell 0.9%
C 0.9%
JavaScript 0.6%
Python 0.4%
Other 1.1%