Rust 1.71.0 stable release

The stable version of Rust 1.71.0 has been released .

important changes

  • C-unwindABI officially stable (also includes -unwindABI 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 option kind="raw-dylib"option.

  • Upgrade musl version to 1.2.3 , most users will not be affected

  • Other changes include some new API stabilizations, and constnew stable APIs in context

See the release announcement for details .

Guess you like

Origin www.oschina.net/news/249372/rust-1-71-0-released