about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-23 18:13:56 +0200
committerGitHub <noreply@github.com>2025-09-23 18:13:56 +0200
commit35ceb3d447bdc0b4274771ac6fbb06f7c95fe71f (patch)
tree5ee0c33524ea4ca21ecb49fae666955f910564a3
parent6d152339da9b209ebff8fd72d152972535ad0e5a (diff)
parent1dcba116f57014454282f8cf0997682e3769003d (diff)
downloadrust-35ceb3d447bdc0b4274771ac6fbb06f7c95fe71f.tar.gz
rust-35ceb3d447bdc0b4274771ac6fbb06f7c95fe71f.zip
Rollup merge of #146827 - foxtran:doc/linker-plugin-lto, r=nnethercote
Linker-plugin-based LTO: update list of good combinations (inc. beta + nightly)

This PR updates the list of good combinations of Rust toolchains and LLVM releases for linker-plugin-based LTO

Related to first question in https://users.rust-lang.org/t/questions-regarding-linker-plugin-based-lto/134070
-rw-r--r--src/doc/rustc/src/linker-plugin-lto.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/doc/rustc/src/linker-plugin-lto.md b/src/doc/rustc/src/linker-plugin-lto.md
index ab95aa2e5a1..32e712a48d7 100644
--- a/src/doc/rustc/src/linker-plugin-lto.md
+++ b/src/doc/rustc/src/linker-plugin-lto.md
@@ -144,7 +144,7 @@ def minor_version(version):
 INSTALL_TOOLCHAIN = ["rustup", "toolchain", "install", "--profile", "minimal"]
 subprocess.run(INSTALL_TOOLCHAIN + ["nightly"])
 
-LOWER_BOUND = 73
+LOWER_BOUND = 87
 NIGHTLY_VERSION = minor_version(subprocess.run(
     ["rustc", "+nightly", "--version"],
     capture_output=True,
@@ -201,6 +201,9 @@ The following table shows known good combinations of toolchain versions.
 | 1.65 - 1.69  |      15       |
 | 1.70 - 1.72  |      16       |
 | 1.73 - 1.77  |      17       |
-| 1.78         |      18       |
+| 1.78 - 1.81  |      18       |
+| 1.82 - 1.86  |      19       |
+| 1.87 - 1.90  |      20       |
+| 1.91 - 1.92  |      21       |
 
 Note that the compatibility policy for this feature might change in the future.