Rust 1.95.0 introduces cfg_select!, a compile-time macro for conditional compilation matching, and stabilizes if-let guards in match expressions for more flexible pattern matching with embedded conditions.
Products
Announcing Rust 1.95.0
Rust 1.95.0 stabilizes if-let guards in pattern matching and debuts cfg_select! for more ergonomic compile-time conditional logic.
Thursday, April 16, 2026 12:00 PM UTC2 MIN READSOURCE: LobstersBY sys://pipeline
Tags
products