Go to file
Matthias Krüger 3ddfd97198
Rollup merge of #127337 - celinval:intrinsics-fallback, r=oli-obk
Move a few intrinsics to Rust abi

Move a few more intrinsic functions to the convention added in #121192. In the second commit, I added documentation about their safety requirements. Let me know if you would like me to move the second commit to a different PR.

Note: I kept the same signature of `pref_align_of`, but I was wondering why this function is considered unsafe?
2024-07-17 16:22:28 +02:00
.github Lower timeout of CI jobs to 4 hours 2024-07-12 11:27:46 +02:00
.reuse
compiler Rollup merge of #125042 - long-long-float:suggest-move-arg-outside, r=fmease 2024-07-17 16:22:26 +02:00
library Rollup merge of #127337 - celinval:intrinsics-fallback, r=oli-obk 2024-07-17 16:22:28 +02:00
LICENSES
src Rollup merge of #127229 - notriddle:notriddle/mile-wide-bar, r=GuillaumeGomez 2024-07-17 16:22:26 +02:00
tests Rollup merge of #127337 - celinval:intrinsics-fallback, r=oli-obk 2024-07-17 16:22:28 +02:00
.clang-format
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore Avoid follow-up errors and ICEs after missing lifetime errors on data structures 2024-07-11 11:00:15 +00:00
.gitmodules
.ignore
.mailmap
Cargo.lock Auto merge of #126208 - Oneirical:one-flew-over-the-cuckoo's-test, r=jieyouxu 2024-07-17 01:09:18 +00:00
Cargo.toml Promote the wasm32-wasip2 target to Tier 2 2024-07-09 12:11:08 -07:00
CODE_OF_CONDUCT.md
config.example.toml Rollup merge of #127322 - onur-ozkan:ci-rustc-incompatible-options, r=Mark-Simulacrum 2024-07-14 10:05:20 +02:00
configure
CONTRIBUTING.md
COPYRIGHT
INSTALL.md Rollup merge of #127434 - onur-ozkan:use-bootstrap-instead-of-rustbuild, r=Mark-Simulacrum 2024-07-13 20:19:45 -07:00
LICENSE-APACHE
LICENSE-MIT
README.md
RELEASES.md Fix typos in RELEASES.md 2024-07-15 22:23:20 -07:00
rust-bors.toml
rustfmt.toml Add rustdoc-json support for use<> 2024-07-12 05:24:51 -04:00
triagebot.toml Add myself to the review rotation 2024-07-14 17:53:39 -04: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 integrate 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 media guide.

Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.