1
0
Fork 0
mirror of https://github.com/rust-lang/rust.git synced 2026-02-27 14:11:57 +01:00
Empowering everyone to build reliable and efficient software. https://www.rust-lang.org
  • Rust 96.1%
  • Shell 0.9%
  • C 0.7%
  • JavaScript 0.6%
  • Python 0.4%
  • Other 1.1%
Find a file
bors 6f54d591c3 Auto merge of #151247 - chenyukang:yukang-fix-const-recover-151149, r=estebank
Try to recover from over-parsing in const item with missing semicolon

Fixes rust-lang/rust#151149

r? @estebank
2026-02-27 09:09:21 +00:00
.github Do not cancel try builds after first job failure 2026-02-17 21:37:22 +01:00
compiler Auto merge of #151247 - chenyukang:yukang-fix-const-recover-151149, r=estebank 2026-02-27 09:09:21 +00:00
library Auto merge of #153108 - alexcrichton:revert, r=joboet 2026-02-26 19:51:40 +00:00
LICENSES
src Auto merge of #153145 - ytmimi:rustfmt-subtree-update, r=ytmimi 2026-02-27 03:08:01 +00:00
tests Auto merge of #151247 - chenyukang:yukang-fix-const-recover-151149, r=estebank 2026-02-27 09:09:21 +00:00
.clang-format
.editorconfig editorconfig: don't use nonexistant syntax 2025-08-24 10:37:19 -05:00
.git-blame-ignore-revs git: ignore 60600a6fa4 for blame purposes 2025-04-17 11:50:24 +08:00
.gitattributes Mark .pp files as Rust 2025-03-29 12:39:06 +01:00
.gitignore ignore build-rust-analyzer even if it's a symlink 2025-11-12 16:41:41 +01:00
.gitmodules Update to LLVM 22 2026-01-27 12:09:39 +01:00
.ignore
.mailmap mailmap: add redddy 2026-02-18 20:42:19 +09:00
bootstrap.example.toml Add build.rustdoc option to bootstrap config 2026-02-20 10:11:07 -07:00
Cargo.lock update Cargo.lock 2026-02-26 12:43:21 -05:00
Cargo.toml chore: prep v1.9.0 release 2026-02-26 10:14:48 -05:00
CODE_OF_CONDUCT.md
configure
CONTRIBUTING.md Fix typos and grammar in top-level and src/doc documentation 2026-02-10 10:22:19 -05:00
COPYRIGHT
INSTALL.md Fix typos and grammar in top-level and src/doc documentation 2026-02-10 10:22:19 -05:00
LICENSE-APACHE
license-metadata.json
LICENSE-MIT
package.json Update browser-ui-test version to 0.23.3 2026-01-27 21:14:25 +01:00
README.md Add direct link to rustc-dev-guide in README 2026-02-14 23:27:12 -08:00
RELEASES.md Auto merge of #152506 - Urgau:rollup-MlGAszj, r=Urgau 2026-02-12 03:44:50 +00:00
REUSE.toml Omit standard copyright notice 2026-01-26 17:31:34 +00:00
rust-bors.toml add trailing commas 2026-02-07 04:25:02 +02:00
rustfmt.toml Rename tests/rustdoc into tests/rustdoc-html 2026-01-07 14:23:30 +01:00
triagebot.toml Enable "View all comments" link feature in triagebot.toml 2026-02-18 21:55:31 +01:00
typos.toml Rename dep node "fingerprints" to distinguish key and value hashes 2026-02-18 17:20:32 +11:00
x Add uv to the list of possible python runners 2026-02-02 13:01:40 +01:00
x.ps1
x.py
yarn.lock Update npm package, remove another unused one, and fix some typing errors that started popping when we moved to yarn 2025-11-17 10:58:18 +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.