Skip to content

Commit 06b8d1d

Browse files
committed
Auto merge of #38111 - japaric:jemalloc, r=alexcrichton
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 r? @alexcrichton
2 parents d346dbc + acad8cc commit 06b8d1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/liballoc_jemalloc/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ fn main() {
6969
.read_dir()
7070
.unwrap()
7171
.map(|e| e.unwrap())
72+
.filter(|e| &*e.file_name() != ".git")
7273
.collect::<Vec<_>>();
7374
while let Some(entry) = stack.pop() {
7475
let path = entry.path();

0 commit comments

Comments
 (0)