Skip to content

Commit

Permalink
Skip rerunning build script on library code changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 9, 2024
1 parent 1d9011d commit e361900
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/cargo/build.rs
Expand Up @@ -48,6 +48,7 @@ through crates.io.
";

fn main() {
println!("cargo:rerun-if-changed=build.rs");
println!("cargo:rustc-cfg=check_cfg");
println!("cargo:rustc-check-cfg=cfg(check_cfg)");
println!("cargo:rustc-check-cfg=cfg(feature, values(\"experimental-async-fn\"))");
Expand Down

0 comments on commit e361900

Please sign in to comment.