| commit | bbde1c0825f95a8051ba42b0412881bd4559358a | [log] [tgz] |
|---|---|---|
| author | Stuart Cook <Zalathar@users.noreply.github.com> | Tue Dec 02 13:56:30 2025 +1100 |
| committer | GitHub <noreply@github.com> | Tue Dec 02 13:56:30 2025 +1100 |
| tree | b6b77c8005145b978b39ad239b34067fa99afaf5 | |
| parent | c539f3ffe1de4c3b46000699621b17f664df1f4a [diff] | |
| parent | b03a65543fbbfbac8eb0c861f3147f7e9c6e473a [diff] |
Rollup merge of #149470 - Zalathar:prepared-conditions, r=jieyouxu compiletest: Prepare ignore/only conditions once in advance, without a macro Compiletest has historically handled `ignore-*` and `only-*` directives in an extremely confusing way that makes the code hard to understand and hard to modify. This PR therefore takes an important step away from that older design by instead evaluating a set of named boolean "conditions" in advance, and then using those conditions to help determine whether a particular directive should cause its test to be ignored or not. As usual, there's more cleanup that I want to do here, but I've left most of it for future work to help keep this PR manageable. r? jieyouxu
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.