Announcing Rust 1.98.1 — Insubornavel

Ankündigung von Rust 1.98.1

Von The Rust Release Team03/09/2026 às 00:00123 Aufrufe

The Rust team has published a new point release of Rust, 1.98.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, getting Rust 1.98.1 is as easy as:

rustup update stable

If you don't have it already, you can get rustup from the appropriate page on our website.

What's in 1.98.1

Rust 1.98.1 fixes a miscompilation in vtable generation.

In Rust 1.98.0, in some circumstances, rustc would incorrectly generate a trait object vtable with a null pointer where a function pointer should be. This leads to undefined behavior in the emitted code. In some cases this may 'just' cause segfaults due to the null pointer being loaded, but it is possible for it to be justification for arbitrary effects (as is typical for UB).

If you'd like to help us out by testing future releases, you might consider using the beta (rustup default beta) and nightly (rustup default nightly) channels locally and in your CI. Please report any bugs you might come across!

Contributors to 1.98.1

Many people came together to create Rust 1.98.1. We couldn't have done it without all of you. Thanks!

Quelle
Rust Blog
Original öffnen ↗

Automatisch übersetzt.

War diese Nachricht nützlich?

Debatten 0

Seien Sie der Erste, der zur Debatte beiträgt.

Teilen Sie Ihre Informationen und fördern Sie Ihr Argument

Zögern Sie nicht, nützliche Informationen zu veröffentlichen.

Um an der Diskussion teilzunehmen, melden Sie sich an oder erstellen Sie ein kostenloses Konto.