Skip to content

Commit

Permalink
rustc-check-cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
amr-crabnebula authored Sep 5, 2024
1 parent 063512f commit 93f0354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/resource-resolver/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ fn main() {
if env::var("CARGO_FEATURE_AUTO_DETECT_FORMAT").is_ok() {
println!("cargo:rerun-if-env-changed=CARGO_PACKAGER_FORMAT");
if let Ok(var) = env::var("CARGO_PACKAGER_FORMAT") {
println!("cargo:rustc-check-cfg=CARGO_PACKAGER_FORMAT=\"{}\"", var);
println!("cargo:rustc-cfg=CARGO_PACKAGER_FORMAT=\"{}\"", var);
}
}
Expand Down

0 comments on commit 93f0354

Please sign in to comment.