Rollup of 9 pull requests
Successful merges:
- rust-lang/rust#151733 (Use function shims to make sure EII works on apple targets)
- rust-lang/rust#152558 (rustc_expand: improve diagnostics for non-repeatable metavars in repetition)
- rust-lang/rust#152596 (Make all multipart suggestions verbose)
- rust-lang/rust#152815 (Add CURRENT_RUSTC_VERSION support for Clippy)
- rust-lang/rust#152733 (Port #[rustc_doc_primitive] to the new attribute parser)
- rust-lang/rust#152817 (Update enzyme submodule to match upstream)
- rust-lang/rust#152819 (explicitly show behavior of <_>::assoc_fn)
- rust-lang/rust#152823 (fix stale comments left over from ed3711e)
- rust-lang/rust#152824 (Enable "View all comments" link feature in `triagebot.toml`)
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.