Skip to content

Commit a0e1244

Browse files
mbrubeckjorgecarleitao
authored andcommitted
ARROW-11329: [Rust] Don't rerun build.rs on every file change
This speeds up development by avoiding rebuilding the whole library when any file in the package directory is touched. Closes #9277 from mbrubeck/build Authored-by: Matt Brubeck <mbrubeck@limpet.net> Signed-off-by: Jorge C. Leitao <jorgecarleitao@gmail.com>
1 parent 23550c2 commit a0e1244

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rust/arrow/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
use cfg_aliases::cfg_aliases;
1919

2020
fn main() {
21+
println!("cargo:rerun-if-changed=build.rs");
2122
// Setup cfg aliases
2223
cfg_aliases! {
2324
simd: { all(any(target_arch = "x86", target_arch = "x86_64", target_arch = "aarch64"), feature = "simd") },

0 commit comments

Comments
 (0)