Skip to content

Commit d86805f

Browse files
committed
Auto merge of #135281 - onur-ozkan:build-stamps, r=jieyouxu
centralize build stamp logic This PR brings all the stamp file handling into one place inside `build_stamp` module, which takes care of everything related to build stamps. By doing this, we cut down on duplicated code and types and keep the codebase easier to maintain and more consistent. Main goals are: - Make stamp handling stricter so we don't have to pass `Path`s around and manually `join` on arbitrary directories - Keep all stamp-related logic in one place - Make it easier to test and debug - Avoid duplication - Keep things simple and well-documented Resolves #134962
2 parents 9ccfdd1 + eecd68c commit d86805f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/backend/debugging.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ These tools include:
5656

5757
By default, the Rust build system does not check for changes to the LLVM source code or
5858
its build configuration settings. So, if you need to rebuild the LLVM that is linked
59-
into `rustc`, first delete the file `llvm-finished-building`, which should be located
59+
into `rustc`, first delete the file `.llvm-stamp`, which should be located
6060
in `build/<host-triple>/llvm/`.
6161

6262
The default rustc compilation pipeline has multiple codegen units, which is

0 commit comments

Comments
 (0)