Rust 1.71.0 arrived on July 13, 2023, with a change aimed at code that crosses language boundaries: the release stabilizes `C-unwind` and other `-unwind` ABI variants. The Rust Release Team says these variants define safe behavior when a panic or C++-style exception crosses the ABI boundary. Under `panic=unwind`, that can allow an exception to unwind through another language's stack without terminating the process, provided it is caught in the language where it originated. Under `panic=abort`, the process will typically abort immediately. [story-s1]

The important migration detail is what did not change. Rust 1.71 left existing ABIs such as `"C"` untouched; unwinding across those boundaries remains undefined behavior. The announcement described the stabilization as an initial step, with a later release expected to amend the existing ABIs as the final part of the feature. That makes the new variants a deliberate interface choice, not a blanket retroactive fix for every foreign-function boundary. [story-s1]

The release also added debugger-visualization attributes so Rust libraries can embed Natvis descriptions or GDB scripts, and Windows `raw-dylib` linking so functions can be used without the linked libraries being present at build time. For teams integrating Rust with other languages or Windows libraries, the common theme is less scaffolding around interfaces—but the new unwind behavior still depends on choosing the matching ABI explicitly. [story-s1]

Source documents

  1. Announcing Rust 1.71.0 | Rust Bloghttps://blog.rust-lang.org/2023/07/13/Rust-1.71.0/