sembr src/backend/updating-llvm.md

This commit is contained in:
Tshepang Mbambo
2026-03-12 02:05:08 +01:00
parent 16050b6d5b
commit 5e305ab74d
@@ -7,9 +7,11 @@ Rust supports building against multiple LLVM versions:
PRs for such fixes are tagged with `llvm-main`.
* The latest released major version is always supported.
* The one or two preceding major versions are usually supported in the sense that they are expected
to build successfully and pass most tests. However, fixes for miscompilations often do not get
to build successfully and pass most tests.
However, fixes for miscompilations often do not get
backported to past LLVM versions, so using rustc with older versions of LLVM comes with an
increased risk of soundness bugs. We strongly recommend using the latest version of LLVM.
increased risk of soundness bugs.
We strongly recommend using the latest version of LLVM.
By default, Rust uses its own fork in the [rust-lang/llvm-project repository].
This fork is based on a `release/$N.x` branch of the upstream project, where