Whatвђ™s New In Rust 1.47 〈RECOMMENDED – 2024〉
Integer arithmetic operations like checked_add , saturating_sub , and checked_mul .
f32::TAU and f64::TAU : Added the mathematical constant ( ) for more intuitive circle-based calculations. What’s new in Rust 1.47
: A significant standard library change now allows traits like Debug , Default , and PartialEq to be implemented for arrays of any length , lifting the previous restriction of length 32 or less. : The compiler now supports the -C control-flow-guard
: The compiler now supports the -C control-flow-guard option for Windows platforms, providing an extra layer of security against memory corruption vulnerabilities. What would be most helpful for your current project
Compare these changes with more recent versions like .
Walk through how to enable on your Windows builds. What would be most helpful for your current project?
Many existing methods were made const , allowing them to be used in constant contexts: The new method for all NonZero integers.