Skip to content

1.68.1 release #1090

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions posts/2023-03-23-Rust-1.68.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
layout: post
title: "Announcing Rust 1.68.1"
author: The Rust Release Team
release: true
---

The Rust team has published a new point release of Rust, 1.68.1. Rust is a
programming language that is empowering everyone to build reliable and
efficient software.

If you have a previous version of Rust installed via rustup, you can get 1.68.1 with:

```
rustup update stable
```

If you don't have it already, you can [get `rustup`][install]
from the appropriate page on our website, and check out the
[detailed release notes for 1.68.1][notes] on GitHub.

[install]: https://www.rust-lang.org/install.html
[notes]: https://github.com/rust-lang/rust/blob/stable/RELEASES.md#version-1681-2023-03-23

## What's in 1.68.1 stable

Rust 1.68.1 stable primarily contains a change to how Rust's CI builds the
Windows MSVC compiler, no longer enabling LTO for the Rust code. This led to a
[miscompilation](https://github.com/rust-lang/rust/issues/109067) that the Rust
team is debugging, but in the meantime we're reverting the change to enable
LTO.

This is currently believed to have no effect on wider usage of ThinLTO. The
Rust compiler used an unstable flag as part of the build process to enable
ThinLTO despite compiling to a dylib.

There are a few other regression fixes included in the release:

* [Fix building the compiler with `--enable-local-rust`](https://github.com/rust-lang/rust/pull/109111/)
* [Treat `$prefix-clang` as `clang` in linker detection code](https://github.com/rust-lang/rust/pull/109156)
* [Fix a panic in the compiler](https://github.com/rust-lang/rust/pull/108162)

### Contributors to 1.68.1

Many people came together to create Rust 1.68.1. We couldn't have done it
without all of you. [Thanks!](https://thanks.rust-lang.org/rust/1.68.1/)