1
Fork 0
Empowering everyone to build reliable and efficient software. Gabriel's commits. https://github.com/rust-lang/rust/
  • Rust 96.3%
  • Shell 0.9%
  • JavaScript 0.6%
  • C 0.4%
  • Python 0.4%
  • Other 1.2%
Find a file
bors 56aaf58ec0 Auto merge of #152253 - nxsaken:stable_const_control_flow, r=dtolnay
Stabilize const ControlFlow predicates


Tracking issue: rust-lang/rust#148738
Related: rust-lang/rust#140266 (moved the relevant const-unstables to that feature)
r? @dtolnay
2026-02-07 03:40:48 +00:00
.github Use DEVELOPER_DIR instead of a custom xcode-select script 2026-02-03 20:14:52 +01:00
compiler Rollup merge of #152234 - BoxyUwU:dont_strip_const_blocks, r=oli-obk 2026-02-07 01:18:54 +01:00
library Stabilize const ControlFlow predicates 2026-02-07 00:33:52 +04:00
LICENSES
src Rollup merge of #152243 - arferreira:fix-rustc-docs-local, r=GuillaumeGomez 2026-02-07 01:18:54 +01:00
tests Rollup merge of #152186 - GuillaumeGomez:inline-diag-rustc_const_eval, r=JonathanBrouwer 2026-02-07 01:18:53 +01:00
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules
.ignore
.mailmap
bootstrap.example.toml
Cargo.lock Rollup merge of #152186 - GuillaumeGomez:inline-diag-rustc_const_eval, r=JonathanBrouwer 2026-02-07 01:18:53 +01:00
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 Rollup merge of #152222 - TaKO8Ki:add-tako8ki-to-triagebot, r=davidtwco 2026-02-06 15:33:41 +01:00
typos.toml
x Add uv to the list of possible python runners 2026-02-02 13:01:40 +01:00
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.

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.