Skip to content

Commit 93f7a9a

Browse files
committedSep 3, 2024
Auto merge of rust-lang#129933 - matthiaskrgr:rollup-ws3flpn, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - rust-lang#127692 (Suggest `impl Trait` for References to Bare Trait in Function Header) - rust-lang#128701 (Don't Suggest Labeling `const` and `unsafe` Blocks ) - rust-lang#128934 (Non-exhaustive structs may be empty) - rust-lang#129630 (Document the broken C ABI of `wasm32-unknown-unknown`) - rust-lang#129706 (Rename dump of coroutine by-move-body to be more consistent, fix ICE in dump_mir) - rust-lang#129896 (do not attempt to prove unknowable goals) - rust-lang#129926 (Move `SanityCheck` and `MirPass`) - rust-lang#129928 (rustc_driver_impl: remove some old dead logic) - rust-lang#129930 (include 1.80.1 release notes on master) r? `@ghost` `@rustbot` modify labels: rollup
2 parents d6c8169 + 67c3113 commit 93f7a9a

File tree

103 files changed

+1652
-606
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+1652
-606
lines changed
 

‎RELEASES.md

+8
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,14 @@ tools.
112112

113113
- [Add a Rust-for Linux `auto` CI job to check kernel builds.](https://github.com/rust-lang/rust/pull/125209/)
114114

115+
Version 1.80.1 (2024-08-08)
116+
===========================
117+
118+
<a id="1.80.1"></a>
119+
120+
- [Fix miscompilation in the jump threading MIR optimization when comparing floats](https://github.com/rust-lang/rust/pull/128271)
121+
- [Revert changes to the `dead_code` lint from 1.80.0](https://github.com/rust-lang/rust/pull/128618)
122+
115123
Version 1.80.0 (2024-07-25)
116124
==========================
117125

‎compiler/rustc_driver_impl/src/lib.rs

+2-11
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ use rustc_session::lint::{Lint, LintId};
6161
use rustc_session::output::collect_crate_types;
6262
use rustc_session::{config, filesearch, EarlyDiagCtxt, Session};
6363
use rustc_span::source_map::FileLoader;
64-
use rustc_span::symbol::sym;
6564
use rustc_span::FileName;
6665
use rustc_target::json::ToJson;
6766
use rustc_target::spec::{Target, TargetTriple};
@@ -777,16 +776,8 @@ fn print_crate_info(
777776
.config
778777
.iter()
779778
.filter_map(|&(name, value)| {
780-
// Note that crt-static is a specially recognized cfg
781-
// directive that's printed out here as part of
782-
// rust-lang/rust#37406, but in general the
783-
// `target_feature` cfg is gated under
784-
// rust-lang/rust#29717. For now this is just
785-
// specifically allowing the crt-static cfg and that's
786-
// it, this is intended to get into Cargo and then go
787-
// through to build scripts.
788-
if (name != sym::target_feature || value != Some(sym::crt_dash_static))
789-
&& !sess.is_nightly_build()
779+
// On stable, exclude unstable flags.
780+
if !sess.is_nightly_build()
790781
&& find_gated_cfg(|cfg_sym| cfg_sym == name).is_some()
791782
{
792783
return None;

0 commit comments

Comments
 (0)