epage ,
@epage@hachyderm.io avatar

"check-cfg" has been stabilized in Cargo!

Rust 1.80 will report warnings when your #[cfg()] expressions reference undefined keys or values (with build.rs escape hatch to register additional names and values). Testing the unstable feature out on my code caught quite a few mistakes!

Lots of great work from Urgau on both cargo and rustc to get this done!

https://github.com/rust-lang/cargo/pull/13571

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines