Skip to content

Commit

Permalink
Added back coverage_attribute feature for coverage (#396)
Browse files Browse the repository at this point in the history
* Added back coverage_attribute feature for coverage, needs to be included for si

* Remove coverage_attribute from main feature block
  • Loading branch information
CraZySacX authored Jan 10, 2025
1 parent 37a0730 commit bdee946
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vergen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rust-version = "1.81.0"
name = "vergen"
readme = "README.md"
repository = "https://github.com/rustyhorde/vergen"
version = "9.0.3"
version = "9.0.4"

[package.metadata.cargo-matrix]
[[package.metadata.cargo-matrix.channel]]
Expand Down
1 change: 1 addition & 0 deletions vergen/build.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
pub fn main() {
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rustc-check-cfg=cfg(coverage_nightly)");
nightly();
beta();
stable();
Expand Down
2 changes: 1 addition & 1 deletion vergen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"
#![cfg_attr(
all(feature = "unstable", nightly),
feature(
coverage_attribute,
multiple_supertrait_upcastable,
must_not_suspend,
non_exhaustive_omitted_patterns_lint,
Expand Down Expand Up @@ -488,6 +487,7 @@ let build = BuildBuilder::default().build_timestamp(true).build()?;"
)]
#![cfg_attr(all(doc, nightly), feature(doc_auto_cfg))]
#![cfg_attr(all(docsrs, nightly), feature(doc_cfg))]
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

mod feature;

Expand Down

0 comments on commit bdee946

Please sign in to comment.