Released on July 20, 2017, Rust 1.19 taught rustc to locate the Visual Studio 2017 C++ Build Tools, freeing Windows developers from using the 2015 tools or a workaround such as vcvars.bat. The release’s most consequential language addition was union support: unlike an enum, a union carries no runtime tag identifying its active field, so reading or writing a field required an unsafe block. Initial unions were restricted to Copy fields and could not implement Drop. [story-s1]
The release also made loop expressions return values through break and let non-capturing closures coerce to function pointers. Beyond language features, Rust 1.19 preferred xz-compressed distribution archives, enabled compiler bootstrapping on Android, and closed a stability loophole by rejecting -Z compiler flags on stable and beta. Cargo also stopped checking out a local working copy of the crates.io index, a change the team said would reduce registry size and improve cloning times, particularly on Windows. [story-s1]
Source documents
- Announcing Rust 1.19 | Rust Bloghttps://blog.rust-lang.org/2017/07/20/Rust-1.19/
