Skip to content

Conversation

@japaric
Copy link
Contributor

@japaric japaric commented Dec 1, 2016

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

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we could just filter this iterator to strip everything that's .git?

the .git directory is modified by `bootstrap` when it updates this git
submodule; this triggered rebuilds every time `bootstrap` was called.

likely fixes rust-lang#38094
@japaric
Copy link
Contributor Author

japaric commented Dec 1, 2016

Simplified the logic.

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Dec 1, 2016

📌 Commit acad8cc has been approved by alexcrichton

@bors
Copy link
Collaborator

bors commented Dec 5, 2016

⌛ Testing commit acad8cc with merge 06b8d1d...

bors added a commit that referenced this pull request Dec 5, 2016
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
@bors bors merged commit acad8cc into rust-lang:master Dec 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

x.py build --stage 1 src/libstd --target $T rebuilding rustc crates when not necessary

4 participants