Files
rust/compiler/rustc_codegen_ssa
Trevor Gross 5365b214a6 Rollup merge of #163428 - RalfJung:unstable-target-feature, r=petrochenkov
do not complain about unstable target features on nightly

This was brought up in https://github.com/rust-lang/rust/issues/162235#issuecomment-5856608121: we currently print a warning on nightly saying that using an unstable target feature will become a hard error. That's a mistake.

We could either remove the part of the warning that talks about it becoming a hard error, or we could just hide the warning entirely for unstable features on nighty. I went for the latter -- nightly is meant for experimentation with those features so having un-silenceable warnings is not great.

Cc @workingjubilee
2026-09-28 23:20:42 -05:00
..
…

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.