Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to disable output even if feature is enabled #208

Merged
merged 3 commits into from
May 20, 2023

Conversation

CraZySacX
Copy link
Member

  • Added disable_* function to EmitBuilder to allow disabling output even if feature is enabled.

Fixes #201

Verified

This commit was signed with the committer’s verified signature.
is enabled
CraZySacX added 2 commits May 20, 2023 15:01

Verified

This commit was signed with the committer’s verified signature.

Verified

This commit was signed with the committer’s verified signature.
@codecov
Copy link

codecov bot commented May 20, 2023

Codecov Report

Merging #208 (a66897c) into master (e802dab) will increase coverage by 0.20%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #208      +/-   ##
==========================================
+ Coverage   99.27%   99.48%   +0.20%     
==========================================
  Files          23       23              
  Lines        1520     1541      +21     
==========================================
+ Hits         1509     1533      +24     
+ Misses         11        8       -3     
Impacted Files Coverage Δ
vergen/tests/build_output.rs 100.00% <ø> (ø)
vergen/tests/cargo_output.rs 100.00% <ø> (ø)
vergen/tests/git_output.rs 100.00% <ø> (ø)
vergen/tests/rustc_output.rs 100.00% <ø> (ø)
vergen/tests/sysinfo_output.rs 100.00% <ø> (ø)
vergen/src/emitter.rs 94.89% <100.00%> (+0.92%) ⬆️

... and 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@CraZySacX CraZySacX merged commit 5cf8f34 into master May 20, 2023
@CraZySacX CraZySacX deleted the feature/add-ability-to-disable branch May 20, 2023 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add disable_git() and similar methods for other features
1 participant