commit | c521d7fa2e69908c1be4585119e8a90140c87297 | [log] [tgz] |
---|---|---|
author | Zalathar <Zalathar@users.noreply.github.com> | Sat Feb 17 22:57:26 2024 +1100 |
committer | Zalathar <Zalathar@users.noreply.github.com> | Sun Feb 18 10:51:56 2024 +1100 |
tree | 3bf247bb8f08e027f046415b84d2222841e68711 | |
parent | 488ffaa7260901a13ac3e51a6ba06f26b976e9cd [diff] |
Move the extra directives for `Mode::CoverageRun` into `iter_header` When these extra directives were ported over as part of #112300, it made sense to introduce `iter_header_extra` and pass them in as an extra argument. But now that #120881 has added a `mode` parameter to `iter_header` for its own purposes, it's slightly simpler to move the coverage special-case code directly into `iter_header` as well. This lets us get rid of `iter_header_extra`.
This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.
Note: this README is for users rather than contributors. If you wish to contribute to the compiler, you should read CONTRIBUTING.md instead.
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 media guide.
Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.