1
Fork 0
Empowering everyone to build reliable and efficient software. Gabriel's commits. https://github.com/rust-lang/rust/
  • Rust 95.7%
  • Shell 1%
  • C 0.9%
  • JavaScript 0.6%
  • Python 0.4%
  • Other 1.1%
Find a file
bors 3514361554 Auto merge of #156617 - JonathanBrouwer:rollup-M30TGcY, r=JonathanBrouwer
Rollup of 12 pull requests

Successful merges:

 - rust-lang/rust#148788 (Unconstrained parameter fix)
 - rust-lang/rust#156319 (Require EIIs to be defined when we compile a rust dylib)
 - rust-lang/rust#156452 (Implement pinned drop sugar)
 - rust-lang/rust#156554 (Allow user-provided `llvm_args` to override target spec arguments)
 - rust-lang/rust#156571 (Disable `main_needs_argc_argv` for Wasm)
 - rust-lang/rust#156600 (Make const param default test reproduce original ICE)
 - rust-lang/rust#156493 (actually run the temp_dir doctest)
 - rust-lang/rust#156556 (Require UTF-8 in `Utf8Pattern::StringPattern`)
 - rust-lang/rust#156565 (delegation: emit error when self type is not specified and accessed)
 - rust-lang/rust#156586 (Use DropCtxt::new_block and new_block_with_statements systematically.)
 - rust-lang/rust#156587 (Correctly handle associated items in rustdoc macro expansion)
 - rust-lang/rust#156604 (coverage: Reduce and clarify the context-mismatch test case)
2026-05-15 21:40:32 +00:00
.github
compiler Auto merge of #156617 - JonathanBrouwer:rollup-M30TGcY, r=JonathanBrouwer 2026-05-15 21:40:32 +00:00
library Rollup merge of #156556 - qaijuang:issue-156491-str-replace-utf8-pattern, r=ChrisDenton 2026-05-15 20:11:46 +02:00
LICENSES
src Rollup merge of #156587 - GuillaumeGomez:assoc-items-macro-expansion, r=Urgau 2026-05-15 20:11:48 +02:00
tests Rollup merge of #156604 - Zalathar:context-mismatch, r=mu001999 2026-05-15 20:11:49 +02: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.