Skip to content

Commit

Permalink
ARROW-11329: [Rust] Don't rerun build.rs on every file change
Browse files Browse the repository at this point in the history
This speeds up development by avoiding rebuilding the whole library
when any file in the package directory is touched.

Closes apache#9277 from mbrubeck/build

Authored-by: Matt Brubeck <mbrubeck@limpet.net>
Signed-off-by: Jorge C. Leitao <jorgecarleitao@gmail.com>
  • Loading branch information
mbrubeck authored and michalursa committed Jun 13, 2021
1 parent 5a41f4a commit 071b561
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/arrow/build.rs
Expand Up @@ -18,6 +18,7 @@
use cfg_aliases::cfg_aliases;

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

0 comments on commit 071b561

Please sign in to comment.