Linux Kernel & OS

Rust 1.99.1 Released with Bug Fixes

Key Takeaway

The Rust team has released version 1.99.1, which fixes several regressions from prior releases.

Summary

The Rust 1.99.1 release addresses issues such as missing symbol wcslen, miscompilation of FFI bool return values on x86_64, and rust-lld's failure to load libLLVM on macOS. These fixes are available through the rustup update stable command for users with a previous version of Rust installed. New users can install rustup from the Rust website.

What's Changed in Rust 1.99.1

  • wcslen symbol: Added to Rust's compiler-builtins library as a fallback to prevent link errors on some targets.
  • FFI bool return values: Marked for zero-extension to ensure correct return values on x86_64.
  • rust-lld on macOS: Built with an rpath entry for the directory containing libLLVM.dylib to fix loading issues.

Why it matters

This release improves the stability and reliability of Rust, which is crucial for developers building software with the language. By fixing regressions, the Rust team ensures a smoother experience for users and contributors alike.

Original reference: blog.rust-lang.org →