diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2016-12-01 13:17:01 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2016-12-01 13:17:01 -0500 |
| commit | acad8cceb7a60833a54650ff84300a21af754434 (patch) | |
| tree | 9bacf8989365388c6ae462dcd2b5d1b8bd30d297 /src/liballoc_jemalloc | |
| parent | ecff71a45c9d1aff9ba5dbc212cb1353578525ee (diff) | |
| download | rust-acad8cceb7a60833a54650ff84300a21af754434.tar.gz rust-acad8cceb7a60833a54650ff84300a21af754434.zip | |
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
Diffstat (limited to 'src/liballoc_jemalloc')
| -rw-r--r-- | src/liballoc_jemalloc/build.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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::<Vec<_>>(); while let Some(entry) = stack.pop() { let path = entry.path(); |
