-
Notifications
You must be signed in to change notification settings - Fork 684
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build.rs: Refactor away
Target::is_git
to clarify logic.
Localize the use of the "is git" check to a single place and use more descriptive variables for the various effects that this check has. As a nice side effect, the loosly-typed `warnings_are_errors` parameters that were threaded through functions are now gone.
- Loading branch information
1 parent
9f13827
commit 31e9f68
Showing
1 changed file
with
44 additions
and
36 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