mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
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
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.