Announcing Rust 1.98.1 — Insubornavel

Announcing Rust 1.98.1

Tác giả The Rust Release Team03/09/2026 às 00:0041 lượt xem

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!

Nguồn
Rust Blog
Mở bản gốc ↗
Tin này có hữu ích không?

Bình luận 0

Seja o primeiro a contribuir com o debate.

Difunda suas informações e promova seu argumento

Đừng ngần ngại chia sẻ thông tin hữu ích.

Để tham gia tranh luận, hãy đăng nhập hoặc tạo tài khoản miễn phí.