From acad8cceb7a60833a54650ff84300a21af754434 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 1 Dec 2016 13:17:01 -0500 Subject: 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(+) (limited to 'src/liballoc_jemalloc') diff --git a/src/liballoc_jemalloc/build.rs b/src/liballoc_jemalloc/build.rs index 08a1f8ae8c6..50149dfd65f 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(); -- cgit 1.4.1-3-g733a5