Rollup of 17 pull requests Successful merges: - rust-lang/rust#140591 (Fix malformed suggestion for E0061 when method is a macro token in macro context) - rust-lang/rust#141536 (Improve `ambiguous_wide_pointer_comparisons` lint compare diagnostics) - rust-lang/rust#141552 (Pull out dedicated `cfg_version` syntax test from feature gate test) - rust-lang/rust#141556 (bootstrap: translate Windows paths in a way that works for both Cygwin and MSYS2) - rust-lang/rust#141563 (Remove out-of-date `noop_*` names.) - rust-lang/rust#141568 (dist: make sure llvm-project submodule is present) - rust-lang/rust#141580 (Use more detailed spans in dyn compat errors within bodies) - rust-lang/rust#141582 (intrinsics, ScalarInt: minor cleanup) - rust-lang/rust#141584 (Support `opaque_types_defined_by` for `SyntheticCoroutineBody`) - rust-lang/rust#141587 (Add missing edition directives for async-await tests) - rust-lang/rust#141594 (Add `generic_arg_infer` test) - rust-lang/rust#141596 (rustc book: fix erratic sentence by making it more simple) - rust-lang/rust#141599 (Remove an unnecessary use of `Box::into_inner`.) - rust-lang/rust#141611 (Update mdbook to 0.4.51) - rust-lang/rust#141616 (Remove spastorino from vacations) - rust-lang/rust#141623 (use custom types to clarify arguments to `emit_ptr_va_arg`) - rust-lang/rust#141635 (further dedup `WalkItemKind` for `mut_visit` and `visit`) r? `@ghost` `@rustbot` modify labels: rollup |
||
|---|---|---|
| .github | ||
| compiler | ||
| library | ||
| LICENSES | ||
| src | ||
| tests | ||
| .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 | ||
| README.md | ||
| RELEASES.md | ||
| REUSE.toml | ||
| rust-bors.toml | ||
| rustfmt.toml | ||
| triagebot.toml | ||
| x | ||
| x.ps1 | ||
| x.py | ||
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.