From acad8cceb7a60833a54650ff84300a21af754434 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 1 Dec 2016 13:17:01 -0500 Subject: [PATCH] don't rebuild alloc_jemalloc if jemalloc's .git directory has changed the .git directory is modified by `bootstrap` when it updates this git submodule; this triggered rebuilds every time `bootstrap` was called. likely fixes #38094 --- src/liballoc_jemalloc/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/liballoc_jemalloc/build.rs b/src/liballoc_jemalloc/build.rs index 08a1f8ae8c6ca..50149dfd65f78 100644 --- a/src/liballoc_jemalloc/build.rs +++ b/src/liballoc_jemalloc/build.rs @@ -69,6 +69,7 @@ fn main() { .read_dir() .unwrap() .map(|e| e.unwrap()) + .filter(|e| &*e.file_name() != ".git") .collect::>(); while let Some(entry) = stack.pop() { let path = entry.path();