Skip to content
Myr

Skip rerunning build script on library code changes

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent b4f1bc1 · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:serde_derive/build.rs+1 added
1fn main() {2 // Warning: build.rs is not published to crates.io.34 println!("cargo:rerun-if-changed=build.rs");5 println!("cargo:rustc-cfg=check_cfg");6 println!("cargo:rustc-check-cfg=cfg(check_cfg)");7 println!("cargo:rustc-check-cfg=cfg(exhaustive)");8}