Skip to content

build.rs: Refactor away Target::is_git to clarify logic. - #1347

Merged
briansmith merged 1 commit into
mainfrom
b/remove-Target-is_git-2
Aug 13, 2021
Merged

briansmith merged 1 commit into
mainfrom
b/remove-Target-is_git-2

Conversation

@briansmith

@briansmith briansmith commented Aug 13, 2021 •

Copy link
Copy Markdown
Owner

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.

@codecov

codecov Bot commented Aug 13, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #1347 (b4ca1b7) into main (9f13827) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1347   +/-   ##
=======================================
  Coverage   92.81%   92.81%           
=======================================
  Files         117      117           
  Lines       17826    17826           
  Branches      195      195           
=======================================
  Hits        16545    16545           
- Misses       1245     1246    +1     
+ Partials       36       35    -1     
Impacted Files Coverage Δ
src/aead/less_safe_key.rs 95.68% <0.00%> (-0.87%) ⬇️
src/aead/aes.rs 82.53% <0.00%> (-0.44%) ⬇️
crypto/cpu-intel.c 70.49% <0.00%> (+3.27%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9f13827...b4ca1b7. Read the comment docs.

Comment thread build.rs Resolved
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.
@briansmith
briansmith force-pushed the b/remove-Target-is_git-2 branch from fafe399 to b4ca1b7 Compare August 13, 2021 19:02
@briansmith
briansmith merged commit 31e9f68 into main Aug 13, 2021
@briansmith
briansmith deleted the b/remove-Target-is_git-2 branch August 13, 2021 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants