Newshot

在 nightly 上启用并行前端

AI summary

我们将在 nightly 上默认启用 Rust 编译器的并行前端,以便在稳定化之前找出遗留问题。Rust 编译器的“后端”部分(使用 LLVM)长期使用多线程编译代码,但“前端”部分(包括类型检查和借用检查)一直在单线程上顺序执行,限制了编译器性能。前端实际上早就支持并行运行,但由于各种问题一直没有默认启用;三年前我们允许在 nightly 频道选择启用并行前端,原计划 2024 年稳定化但未能实现,相关工作仍在缓慢推进。

This source only provides a headline — there is no body to show. Use “Read the original” below to read it at the source.

Published by Rust Blog
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗