@@ -116,14 +116,14 @@ so let's go through each in detail.
116116 at the time of the branch,
117117 and the remaining part is the current date.
118118
119- 2 . Apply Rust-specific patches to the llvm-project repository.
119+ 1 . Apply Rust-specific patches to the llvm-project repository.
120120 All features and bugfixes are upstream,
121121 but there's often some weird build-related patches
122122 that don't make sense to upstream.
123123 These patches are typically the latest patches in the
124124 rust-lang/llvm-project branch that rustc is currently using.
125125
126- 3 . Build the new LLVM in the ` rust ` repository.
126+ 1 . Build the new LLVM in the ` rust ` repository.
127127 To do this,
128128 you'll want to update the ` src/llvm-project ` repository to your branch,
129129 and the revision you've created.
@@ -151,7 +151,7 @@ so let's go through each in detail.
151151 download-ci-llvm = false
152152 ```
153153
154- 4 . Test for regressions across other platforms. LLVM often has at least one bug
154+ 1 . Test for regressions across other platforms. LLVM often has at least one bug
155155 for non-tier-1 architectures, so it's good to do some more testing before
156156 sending this to bors! If you're low on resources you can send the PR as-is
157157 now to bors, though, and it'll get tested anyway.
@@ -170,22 +170,17 @@ so let's go through each in detail.
170170 * ` ./src/ci/docker/run.sh dist-various-2 `
171171 * ` ./src/ci/docker/run.sh armhf-gnu `
172172
173- 5 . Prepare a PR to ` rust-lang/rust ` . Work with maintainers of
173+ 1 . Prepare a PR to ` rust-lang/rust ` . Work with maintainers of
174174 ` rust-lang/llvm-project ` to get your commit in a branch of that repository,
175175 and then you can send a PR to ` rust-lang/rust ` . You'll change at least
176176 ` src/llvm-project ` and will likely also change [ ` llvm-wrapper ` ] as well.
177177
178- <!-- date-check: Sep 2024 -->
178+ <!-- date-check: mar 2025 -->
179179 > For prior art, here are some previous LLVM updates:
180- > - [ LLVM 11] ( https://github.com/rust-lang/rust/pull/73526 )
181- > - [ LLVM 12] ( https://github.com/rust-lang/rust/pull/81451 )
182- > - [ LLVM 13] ( https://github.com/rust-lang/rust/pull/87570 )
183- > - [ LLVM 14] ( https://github.com/rust-lang/rust/pull/93577 )
184- > - [ LLVM 15] ( https://github.com/rust-lang/rust/pull/99464 )
185- > - [ LLVM 16] ( https://github.com/rust-lang/rust/pull/109474 )
186180 > - [ LLVM 17] ( https://github.com/rust-lang/rust/pull/115959 )
187181 > - [ LLVM 18] ( https://github.com/rust-lang/rust/pull/120055 )
188182 > - [ LLVM 19] ( https://github.com/rust-lang/rust/pull/127513 )
183+ > - [ LLVM 20] ( https://github.com/rust-lang/rust/pull/135763 )
189184
190185 Note that sometimes it's easiest to land [ ` llvm-wrapper ` ] compatibility as a PR
191186 before actually updating ` src/llvm-project ` .
@@ -194,17 +189,17 @@ so let's go through each in detail.
194189 others interested in trying out the new LLVM can benefit from work you've done
195190 to update the C++ bindings.
196191
197- 3 . Over the next few months,
192+ 1 . Over the next few months,
198193 LLVM will continually push commits to its ` release/a.b ` branch.
199194 We will often want to have those bug fixes as well.
200195 The merge process for that is to use ` git merge ` itself to merge LLVM's
201196 ` release/a.b ` branch with the branch created in step 2.
202197 This is typically
203198 done multiple times when necessary while LLVM's release branch is baking.
204199
205- 4 . LLVM then announces the release of version ` a.b ` .
200+ 1 . LLVM then announces the release of version ` a.b ` .
206201
207- 5 . After LLVM's official release,
202+ 1 . After LLVM's official release,
208203 we follow the process of creating a new branch on the
209204 rust-lang/llvm-project repository again,
210205 this time with a new date.
0 commit comments