Zum Hauptinhalt springen
YouTube Security VideosIBM Technology: When Security Patches Leak(31.10.2026 um 17:00 Uhr)
••
YouTube Security VideosGoogle: Happy Halloween 🎃(31.10.2026 um 17:11 Uhr)
•
Windows Tipps & SecurityComputer restarts after logging in [Fix](31.10.2026 um 13:15 Uhr)
•
Windows Tipps & SecurityXBOX made generational leaps with each console — So, what happens next?(31.10.2026 um 16:19 Uhr)
•
Videos & KonferenzenAlberta Tech: If Elizabeth Holmes was a programmer(31.10.2026 um 16:17 Uhr)
•
Unix & Linux ServerOS Release: Sculpt OS 26-10(31.10.2026 um 17:35 Uhr)
•
Linux Tipps & HardeningSecurity: Ausführen beliebiger Kommandos in mutt (Fedora)(31.10.2026 um 06:47 Uhr)
•
Linux Tipps & HardeningSecurity: Mehrere Probleme in keepassxc (Fedora)(31.10.2026 um 06:47 Uhr)
•
Sicherheitslücken (CVE)Security: Cross-Site Scripting in python-nh3 (Fedora)(31.10.2026 um 06:47 Uhr)
•
YouTube Security VideosIBM Technology: When Security Patches Leak(31.10.2026 um 17:00 Uhr)
••
YouTube Security VideosGoogle: Happy Halloween 🎃(31.10.2026 um 17:11 Uhr)
•
Windows Tipps & SecurityComputer restarts after logging in [Fix](31.10.2026 um 13:15 Uhr)
•
Windows Tipps & SecurityXBOX made generational leaps with each console — So, what happens next?(31.10.2026 um 16:19 Uhr)
•
Videos & KonferenzenAlberta Tech: If Elizabeth Holmes was a programmer(31.10.2026 um 16:17 Uhr)
•
Unix & Linux ServerOS Release: Sculpt OS 26-10(31.10.2026 um 17:35 Uhr)
•
Linux Tipps & HardeningSecurity: Ausführen beliebiger Kommandos in mutt (Fedora)(31.10.2026 um 06:47 Uhr)
•
Linux Tipps & HardeningSecurity: Mehrere Probleme in keepassxc (Fedora)(31.10.2026 um 06:47 Uhr)
•
Sicherheitslücken (CVE)Security: Cross-Site Scripting in python-nh3 (Fedora)(31.10.2026 um 06:47 Uhr)
•
Intelligence View
⚡ tsecurity.de Intelligence

The Rust Programming Language Blog: Announcing Rust 1.97.0

The Rust team is happy to announce a new version of Rust, 1.97.0. Rust is a programming language empowering everyone to build reliable and efficient software.…

Beitrag
0
Seite
0
↗ Quelle (blog.rust-lang.org)
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!

The Rust team is happy to announce a new version of Rust, 1.97.0. Rust is a programming language empowering everyone to build reliable and efficient software.


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


$ rustup update stable

If you don't have it already, you can get rustup from the appropriate page on our website, and check out the detailed release notes for 1.97.0.


If you'd like to help us out by testing future releases, you might consider updating locally to use the beta channel (rustup default beta) or the nightly channel (rustup default nightly). Please report any bugs you might come across!



What's in 1.97.0 stable



Symbol mangling v0 enabled by default


When Rust is compiled into object files and binaries, each item (functions,
statics, etc) must have a globally unique "symbol" identifying it. To avoid
conflicts when linking together different Rust programs, Rust mangles the
original name of items to include additional context such as the module path,
defining crate, generics, and more. Historically, this mangling was based on
the Itanium ABI,
also (sometimes) used by C++.


The new mangling scheme resolves a number of drawbacks from the previous one:



  • Generic parameter instantiations preserve their values, rather than being tracked solely behind a hash

  • Inconsistencies: not all parts used the Itanium ABI, meaning that custom demangling was still necessary


Since Rust 1.59, the compiler has supported opting into a Rust-specific
mangling scheme via -Csymbol-mangling-version=v0. Since November 2025, this
scheme has been enabled by default on nightly, and 1.97 is now enabling it on
stable Rust. The legacy mangling scheme can only be enabled on nightly, and the
current plan is to fully remove it.


See the previous blog post for more details.



Cargo support for denying warnings


It's common practice to deny warnings in CI. Historically, doing so is
typically done through RUSTFLAGS=-Dwarnings. With Rust 1.97, Cargo controls
how warnings interact with build success: either silencing them (via allow
level), rendering without failing (default, warn), or denying them (via deny).


As a result of Cargo configuration determining the behavior, using this
feature doesn't invalidate the underlying build cache, meaning that it's easy
to temporarily opt-in. For example, if warnings are adding unwanted noise while
working through fixing errors after a refactor, you can run
CARGO_BUILD_WARNINGS=allow cargo check, temporarily silencing them.


In CI, jobs can instead set CARGO_BUILD_WARNINGS=deny to deny warnings. This
can be combined with --keep-going to collect all errors and warnings rather
than stopping on the first failing package.


See the documentation for more details.



Linker output no longer hidden by default


rustc invokes a linker on behalf of users. Historically, rustc has silenced
linker output by default if the link completes successfully. This can mask real
problems, though, so in Rust 1.97 we are enabling linker messages by default.
These are emitted as a warning lint, for example:


warning: linker stderr: ignoring deprecated linker optimization setting '1'
|
= note: `#[warn(linker_messages)]` on by default

Common linker messages that have been diagnosed as false positives or intentional behavior
are filtered out by rustc. Several defects have already been fixed as a result
of no longer hiding this output on nightly.


Note that currently, linker_messages is a special lint that is not affected
by the warnings lint group. This is intentional as rustc generally doesn't
control linker output as precisely, and it's not uncommon for output to only
appear on some platforms. If you are seeing what you think is a false positive
output from the linker, please file an issue.


To silence the warning in the mean time, you can configure the lint level to
allow. This can be done through Cargo.toml by adding a lints section like this:


[lints.rust]
linker_messages = "allow"


Stabilized APIs



These previously stable APIs are now stable in const contexts:




Other changes


Check out everything that changed in Rust, Cargo, and Clippy.



Contributors to 1.97.0


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

Intelligence Digest - bezpłatnie Codziennie najważniejsze wiadomości bezpieczeństwa · można pobrać w każdej chwili
Community Rating & Social Proof
⭐ Leser-Wertung
–
Ø / 5.0
Brak recenzji czytelników
Czy ta strona była pomocna?
0
Jetzt Bewertung abgeben
🟢 Niedrig (1-3.9) 🟡 Mittel (4.0-6.9) 🔴 Hoch (7.0-8.9) Kritisch (9.0-10.0)

Powiązany klaster opowieści i źródła (wektor AI)

Rysunek do aktualizacji
Nächster Beitrag