Skip to content

Commit

Permalink
don't rebuild alloc_jemalloc if jemalloc's .git directory has changed
Browse files Browse the repository at this point in the history
the .git directory is modified by `bootstrap` when it updates this git
submodule; this triggered rebuilds every time `bootstrap` was called.

likely fixes #38094
  • Loading branch information
Jorge Aparicio committed Dec 1, 2016
1 parent ecff71a commit acad8cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/liballoc_jemalloc/build.rs
Expand Up @@ -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();
Expand Down

0 comments on commit acad8cc

Please sign in to comment.