Skip to content

Commit

Permalink
Re-run build.rs if the file contents change
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems authored and andrewhickman committed Oct 17, 2024
1 parent d3c94b4 commit 2c3a3c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ fn main() {
let ac = autocfg::new();
// Allows `#[cfg(rustc_1_63)]` to be used in code
ac.emit_rustc_version(1, 63);

// Re-run if this file changes
autocfg::rerun_path("build.rs");
}

0 comments on commit 2c3a3c5

Please sign in to comment.