MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos
rust
Search

Rust 1.78.0 released

Thursday May 2, 2024. 04:43 PM , from LWN.net
Version
1.78.0 of the Rust language has been released. Changes include a new
mechanism for diagnostic attributes, changes to how assertions around
unsafe blocks are handled, and more.

Rust now supports a #[diagnostic] attribute namespace to
influence compiler error messages. These are treated as hints which
the compiler is not required to use, and it is also not an error to
provide a diagnostic that the compiler doesn't recognize. This
flexibility allows source code to provide diagnostics even when
they're not supported by all compilers, whether those are different
versions or entirely different implementations.
https://lwn.net/Articles/972191/
News copyright owned by their original publishers | Copyright © 2004 - 2024 Zicos / 440Network
Current Date
Nov, Thu 21 - 18:08 CET