The stable version of Rust 1.71.0 has been released .
important changes
C-unwind
ABI officially stable (also includes-unwind
ABI variant 1 for other suffixes ): This feature is safer for exception handling across ABI boundaries- The debugger adds visualization properties
#[debug_visualizer(natvis_file = "...")]
and#[debug_visualizer(gdb_script_file = "...")]
,They support embedding Natviz descriptions and GDB scripts into Rust libraries to improve debugger output when inspecting data structures created by those libraries. Rust itself has packaged similar scripts for the standard library for some time, but this feature allows library authors to provide a similar experience to end users.
-
raw-dylib linking : On Windows, Rust now compiles without relying on dynamic libraries to use their functionality, using a
#[link]
new optionkind="raw-dylib"
option. -
Upgrade musl version to 1.2.3 , most users will not be affected
-
Other changes include some new API stabilizations, and
const
new stable APIs in context