Find a file
Matthias Krüger 74d1d59e7c
Rollup merge of #143125 - tgross35:aarch64-neon-llvm19-f16, r=cuviper
Disable f16 on Aarch64 without neon for llvm < 20.1.1

This check was added unconditionally in c51b229140 ("Disable f16 on Aarch64 without `neon`") and reverted in 4a8d35709e ("Revert "Disable `f16` on Aarch64 without `neon`"") since it did not fail in Rust's build. However, it is still possible to hit this crash if using LLVM 19 built with assertions, so disable the type conditionally based on version here.

Note that for these builds, a similar patch is needed in the build script for `compiler-builtins` since it does not yet use `cfg(target_has_reliable_f16)` (hopefully to be resolved in the near future).

Report: https://github.com/rust-lang/rust/pull/139276#issuecomment-3014781652
Original LLVM issue: https://github.com/llvm/llvm-project/issues/129394
2025-07-01 04:25:34 +02:00
.github Update book and templates with feature freeze (#14456) 2025-06-26 16:45:13 +00:00
compiler Rollup merge of #143125 - tgross35:aarch64-neon-llvm19-f16, r=cuviper 2025-07-01 04:25:34 +02:00
library Auto merge of #143233 - dianqk:rollup-lcx3278, r=dianqk 2025-06-30 14:28:58 +00:00
LICENSES
src Rollup merge of #143248 - rustbot:docs-update, r=ehuss 2025-06-30 20:49:45 +02:00
tests Rollup merge of #143223 - nnethercote:improve-macro-stats-printing, r=petrochenkov 2025-06-30 20:49:43 +02:00
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.gitmodules Removed library/stdarch submodule 2025-06-23 17:22:38 +02:00
.ignore
.mailmap Add my work email to mailmap 2025-06-29 11:04:49 +00:00
bootstrap.example.toml bootstrap.example.toml: add note explaining toml 2025-06-20 11:35:53 -05:00
Cargo.lock update lockfile 2025-06-28 13:33:12 +02:00
Cargo.toml Bump Clippy version -> 0.1.90 2025-06-26 19:30:02 +02:00
CODE_OF_CONDUCT.md
configure
CONTRIBUTING.md
COPYRIGHT
INSTALL.md
LICENSE-APACHE
license-metadata.json
LICENSE-MIT
README.md
RELEASES.md Rollup merge of #143059 - jieyouxu:slice-as-chunks, r=cuviper 2025-06-26 20:15:29 -04:00
REUSE.toml
rust-bors.toml
rustfmt.toml
triagebot.toml Ping notriddle when a clippy lint in clippy_lints/doc is modified 2025-06-26 18:45:11 +02:00
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.