-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't recompile Rust when only debug_info changes.
Recent improvements of the self-profiler infrastructure caused regression in Rust compilation times. We now store detailed debug info with each arrangement, including the list of source code locations where the arrangement is used. Every time the user as much as changes the formatting in one of these locations, debug info changes causing the crate that declares the relation to recompile. The workaround is to generate arrangements without debug_info and inject debug info from the root crate, which always gets re-compiled anyway. Signed-off-by: Leonid Ryzhyk <[email protected]>
- Loading branch information
Showing
3 changed files
with
46 additions
and
18 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