Skip to content

Commit

Permalink
Specify has_coverage_attribute as a known cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxyUwU committed Jul 30, 2024
1 parent 5aab429 commit 7c36fe6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ fn main() {
if let Some(true) = version_check::supports_feature("coverage_attribute") {
println!("cargo:rustc-cfg=has_coverage_attribute");
}
println!("cargo:rustc-check-cfg=cfg(has_coverage_attribute)");
generate_self_schema();
println!("cargo:rustc-env=PROFILE={}", std::env::var("PROFILE").unwrap());
}

0 comments on commit 7c36fe6

Please sign in to comment.