-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustbuild: Use current_dir instead of -C #36456
Conversation
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit 6b2cf78 has been approved by |
⌛ Testing commit 6b2cf78 with merge 20abf70... |
💔 Test failed - auto-linux-64-cross-freebsd |
@bors: retry On Tue, Sep 13, 2016 at 7:51 PM, bors notifications@github.com wrote:
|
…r=jonathandturner rustbuild: Use current_dir instead of -C Apparently some versions of git don't support the `-C` flag, so let's use the guaranteed-to-work `current_dir` function.
⌛ Testing commit 6b2cf78 with merge 0f7fe2f... |
💔 Test failed - auto-linux-64-cross-freebsd |
Pinging @alexcrichton - do we still need this? If so, do you know what fix this needs? |
Apparently some versions of git don't support the `-C` flag, so let's use the guaranteed-to-work `current_dir` function.
6b2cf78
to
d68f7eb
Compare
@bors: r=jonathandturner Let's see if that works |
📌 Commit d68f7eb has been approved by |
…turner rustbuild: Use current_dir instead of -C Apparently some versions of git don't support the `-C` flag, so let's use the guaranteed-to-work `current_dir` function.
This (I think) broke using I'm getting
Edit: Reverting d68f7eb did indeed fix the problem |
@TimNN oh dear! could you describe the directory layout here? Also maybe run with |
Looking at the patch, this probably needs to The layout is basically something like
Edit: |
Ah right, sounds good to me! (adding |
Yeah, I can send a PR. However that will have to wait until tomorrow (it's getting late here) so if anyone wants to send one before then, feel free. |
Awesome, thanks! |
fix out-of-tree rustbuild See #36456 (comment) r? @alexcrichton
Apparently some versions of git don't support the
-C
flag, so let's use theguaranteed-to-work
current_dir
function.