|
| 1 | +--- |
| 2 | +layout: post |
| 3 | +title: "Announcing Rust 1.68.1" |
| 4 | +author: The Rust Release Team |
| 5 | +release: true |
| 6 | +--- |
| 7 | + |
| 8 | +The Rust team has published a new point release of Rust, 1.68.1. Rust is a |
| 9 | +programming language that is empowering everyone to build reliable and |
| 10 | +efficient software. |
| 11 | + |
| 12 | +If you have a previous version of Rust installed via rustup, you can get 1.68.1 with: |
| 13 | + |
| 14 | +``` |
| 15 | +rustup update stable |
| 16 | +``` |
| 17 | + |
| 18 | +If you don't have it already, you can [get `rustup`][install] |
| 19 | +from the appropriate page on our website, and check out the |
| 20 | +[detailed release notes for 1.68.1][notes] on GitHub. |
| 21 | + |
| 22 | +[install]: https://www.rust-lang.org/install.html |
| 23 | +[notes]: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1681-2023-03-23 |
| 24 | + |
| 25 | +## What's in 1.68.1 stable |
| 26 | + |
| 27 | +Rust 1.68.1 stable primarily contains a change to how Rust's CI builds the |
| 28 | +Windows MSVC compiler, no longer enabling LTO for the Rust code. This led to a |
| 29 | +[miscompilation](https://github.com/rust-lang/rust/issues/109067) that the Rust |
| 30 | +team is debugging, but in the meantime we're reverting the change to enable |
| 31 | +LTO. |
| 32 | + |
| 33 | +This is currently believed to have no effect on wider usage of ThinLTO. The |
| 34 | +Rust compiler used an unstable flag as part of the build process to enable |
| 35 | +ThinLTO despite compiling to a dylib. |
| 36 | + |
| 37 | +There are a few other regression fixes included in the release: |
| 38 | + |
| 39 | +* [Fix building the compiler with `--enable-local-rust`](https://github.com/rust-lang/rust/pull/109111/) |
| 40 | +* [Treat `$prefix-clang` as `clang` in linker detection code](https://github.com/rust-lang/rust/pull/109156) |
| 41 | +* [Fix a panic in the compiler](https://github.com/rust-lang/rust/pull/108162) |
| 42 | + |
| 43 | +### Contributors to 1.68.1 |
| 44 | + |
| 45 | +Many people came together to create Rust 1.68.1. We couldn't have done it |
| 46 | +without all of you. [Thanks!](https://thanks.rust-lang.org/rust/1.68.1/) |
0 commit comments