commit | a587a6f0c8ab04a3bb626e45f07523eb182cd431 | [log] [tgz] |
---|---|---|
author | Rust timing bot <rust-timer@users.noreply.github.com> | Sun Oct 12 20:20:50 2025 |
committer | GitHub <noreply@github.com> | Sun Oct 12 20:20:50 2025 |
tree | c14b10684bdfc6f7edbfb815958191d28a77d023 | |
parent | ff6dc928c5e33ce8e65c6911a790b9efcb5ef53a [diff] | |
parent | 3e26e2a3a9f047060d7c098c3c82a77d7c33c2aa [diff] |
Unrolled build for #147168 Rollup merge of #147168 - jyn514:no-alloc, r=Mark-Simulacrum Don't unconditionally build alloc for `no-std` targets It's possible for targets to only support `core` and not `alloc`. Instead of building alloc unconditionally, pass a list of crates to build into `std_cargo`, and only pass `-p alloc` if the list of crates wasn't already filtered to a subset. The original use case was to reuse `std_cargo` for a rustc_driver that doesn't emit metadata. But this seems like a reasonable change regardless.
Website | Getting started | Learn | Documentation | Contributing
This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.
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).
Read “Installation” from The Book.
If you really want to install from source (though this is not recommended), see INSTALL.md.
See https://www.rust-lang.org/community for a list of chat platforms and forums.
See CONTRIBUTING.md.
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.
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.