Skip to content

Commit

Permalink
Merge pull request #1277 from hannobraun/build
Browse files Browse the repository at this point in the history
Make sure `fj`'s `build.rs` doesn't run too often
  • Loading branch information
hannobraun authored Oct 26, 2022
2 parents 474610d + f4e6bd7 commit fd401e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/fj/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ fn main() {

println!("cargo:rustc-env=FJ_VERSION_PKG={}", version.pkg_version);
println!("cargo:rustc-env=FJ_VERSION_FULL={}", version.full_string);

// Make sure the build script doesn't run too often.
println!("cargo:rerun-if-changed=Cargo.toml");
}

struct Version {
Expand Down

0 comments on commit fd401e3

Please sign in to comment.