首页›发现›编程›Rust Blog

Rust Blog

Atom运行正常
访问网站
文章数10
更新频率每周约 1 篇
最近抓取4分钟前
订阅方式Atom
订阅地址https://blog.rust-lang.org/feed.xml

最近的文章

订阅后,这些文章和以后的新文章都会出现在你的阅读器里

Announcing Rust 1.100.1

AI 摘要The Rust team has released Rust 1.100.1, a point release that fixes a regression where some types were not inferred as having Iterator impls. The issue was caused by a change to the unstable const version of Iterator in Rust 1.100.0, which has now been reverted. Users can update via rustup, and testers are encouraged to try the beta or nightly channels and report bugs.

Enabling the parallel frontend on nightly

AI 摘要The Rust compiler's parallel frontend is now enabled by default on the nightly channel to uncover remaining issues before its stabilization, since the frontend (type checking and borrow checking) previously ran on a single thread and limited compiler performance. Benchmarks show significant speedups, such as nearly 3x faster compilation for some crates with 8 threads, though benefits are smaller when CPU cores are already saturated by LLVM and Cargo parallelism. Users can opt out via the --jobs-frontend=1 flag, and the team plans to stabilize the feature and further improve its performance after monitoring feedback.

Announcing Rust 1.100.0

AI 摘要The Rust team has announced version 1.100.0, headlined by the long-awaited stabilization of the never type (!) after a decade of attempts, along with the Allocator API, the new DropGuard helper for running closures on exit, and std::mem::conjure_zst for safely creating zero-sized types. The release also brings Cargo improvements, including warnings for unused dependencies, a restructured build-dir layout to reduce cache collisions, and min-publish-age 'dependency cooldowns' to guard against freshly published malicious packages. Users can upgrade via rustup update stable, and the full details are available in the release notes.

Google Summer of Code 2026 results

AI 摘要The Rust Project completed its third Google Summer of Code (GSoC) in 2026 with 13 projects, all of which successfully passed their final evaluations, covering areas such as GPU offloading, WebAssembly support in the Wild linker, automatic differentiation, a debugger for Miri, new impl and mut restriction language features, and various tooling improvements. Although there were fewer projects than in 2025 due to limited mentoring capacity, the organizers credited the success to the contributors' diligence and mentors' helpfulness, and praised the participants' contributions to the Rust ecosystem. The Rust Project views GSoC as an excellent way to introduce new contributors to the community and looks forward to participating again, along with other mentorship programs such as Outreachy.

Announcing rustup 1.29.3

AI 摘要The rustup team has released rustup 1.29.3, a patch release that fixes minor regressions from the previous version, including an "Illegal instruction" error on certain x86_64 CPUs without SSE4.1 and a "lock() not supported" error on Solaris. Users can update by running "rustup self update" or "rustup update", or manually replacing the rustup binary if self-update issues occur. The release also cautions that anti-malware scanners may temporarily block rustup until they are updated to recognize the new version.

How to fund Rust contributors

AI 摘要The article explains three ways to fund Rust development: donating to general maintenance funds (such as the Rust Foundation Maintainers Fund or the RustNL Maintainers Team), sponsoring specific fundable Rust Project Goals, and directly supporting individual contributors via platforms like GitHub Sponsors. It emphasizes that most Rust work is currently done by volunteers, leading to burnout and slow feature delivery, and that funding helps improve maintenance and accelerate long-awaited features. Companies can also join the Rust Commercial Network or give employees paid time to contribute.

Announcing rustup 1.29.2

AI 摘要The rustup team announced the release of rustup 1.29.2, a small update that refreshes the rustls-webpki and webpki-root-certs dependencies to fix the eMudhra intermediate certificates issue (CVE-2026-111943). Users can update by running 'rustup self update', or rustup will update itself automatically during a normal toolchain update. The release notes also caution that anti-malware scanners may temporarily block the new version until they recognize it.

Announcing Rust 1.99.1

AI 摘要The Rust team has released version 1.99.1, a point release that fixes several regressions from previous versions, including a missing wcslen symbol that broke UEFI targets, miscompilation of FFI bool return values on x86_64, and rust-lld failing to load libLLVM on macOS. Users with rustup can update by running 'rustup update stable', and contributors are thanked for their work on the release.

Demoting i686 Windows targets to std-only

AI 摘要Starting with Rust 1.100.0, the i686-pc-windows-msvc and i686-pc-windows-gnu targets will be demoted to Tier 1 and Tier 2 respectively without host tools, meaning prebuilt standard libraries will still be distributed but tools like the compiler will no longer be available. This change stems from the obsolescence of 32-bit-only x86 development platforms, the end of general 32-bit Windows support in October 2025, and recurring problems building i686 toolchains such as compiler crashes and out-of-memory failures. Developers who need 32-bit Windows binaries are advised to cross-compile from a still-supported host toolchain, such as a 64-bit Windows one.

Announcing Rust 1.99.0

AI 摘要The Rust team has announced version 1.99.0, which stabilizes the ability to define C-ABI variadic functions directly in Rust using the VaList type. The release also stabilizes functions for retrieving layout information (size and alignment) from raw pointers, and updates documentation to recommend against deallocating memory leaked via Box::leak in favor of Box::into_non_null or Box::into_raw. Additionally, it includes many newly stabilized APIs, such as IntoIterator for Box<[T; N]> and filesystem time-setting functions.