forked from mozilla/sccache
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Take a toolchain archive file into account when deciding to re-build …
…rust. One source of issues with our custom toolchains is that swapping out archives will sometimes require a clobber: if a mis-matched version of a rust toolchain is specified and compiles sucessfully, future compiles may fail due to the presence of that compiled artifact, and updating the specified archive will not be enough to fix things, because the build system will not know to re-build. This change takes advantage of the distributed output re-writer we already use to modify cargo dep files during distributed builds to also add the distributed archive (if any) as a dependency.
- Loading branch information
1 parent
1a3c0de
commit a78ff4b
Showing
5 changed files
with
62 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters