-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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: pass datadir to rust-installer #48295
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ |
📌 Commit a6f9f1e has been approved by |
Btw, would this be a good candidate for a beta backport? |
I think probably no since it's not really fixing any regressions in beta, and doesn't seem like a critical patch. This is strictly a "new" bug so to speak, right? Not something we regressed on? |
It kind of is as I got to that because I needed to change the prefix because of the removal of relative_libdir. But I totally get how that's non critical and I'm fine with keeping a workaround downstream for the time being |
Oh, in that case, yes, this seems like a viable candidate for a backport. The change is relatively small anyway. I've nominated. |
This can be rolled up. |
This changes Cargo.lock which is somewhat likely to cause conflicts so I'd prefer to not roll it up. |
☔ The latest upstream changes (presumably #48349) made this pull request unmergeable. Please resolve the merge conflicts. |
Rebased on top of current master |
@alexcrichton while at it, do you want me to pull in your compression change from rust-installer in the first commit? |
@bors: r+ Sure yeah feel free, but no worries if it happens later! |
📌 Commit a989ee9 has been approved by |
☔ The latest upstream changes (presumably #48806) made this pull request unmergeable. Please resolve the merge conflicts. |
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
I guess this can be rolled up now |
⌛ Testing commit d14f07e with merge aaaefd7e01a15a8e9846e4d4bdad365d3460241c... |
💔 Test failed - status-travis |
@bors retry rollup- Failed on 32-bit macOS. Seems like a spurious error. Removed rollup marker, in order to unblock the beta backport. Creating a rollup including this PR is still welcome.
|
When executing run-make tests we run a risk of leaking the `MAKEFLAGS` environment variable if `./x.py` itself was called from `make` (aka `make check -j3` as the OSX bots do). We may then leak accidentally fds into the child process and trick it into thinking it's got a jobserver! Hopefully addresses [this] spurious failure [this]: rust-lang#48295 (comment)
⌛ Testing commit d14f07e with merge ae22d0ebabc99183fbba992f1c50a4412002597a... |
💔 Test failed - status-travis |
…ennytm test: Forcibly remove MAKEFLAGS in compiletest When executing run-make tests we run a risk of leaking the `MAKEFLAGS` environment variable if `./x.py` itself was called from `make` (aka `make check -j3` as the OSX bots do). We may then leak accidentally fds into the child process and trick it into thinking it's got a jobserver! Hopefully addresses [this] spurious failure [this]: rust-lang#48295 (comment)
test: Forcibly remove MAKEFLAGS in compiletest When executing run-make tests we run a risk of leaking the `MAKEFLAGS` environment variable if `./x.py` itself was called from `make` (aka `make check -j3` as the OSX bots do). We may then leak accidentally fds into the child process and trick it into thinking it's got a jobserver! Hopefully addresses [this] spurious failure [this]: #48295 (comment)
rustbuild: pass datadir to rust-installer This fixes zsh completion install when $datadir != $prefix/share
☀️ Test successful - status-appveyor, status-travis |
[beta] rustbuild: pass datadir to rust-installer Backport from #48295
When executing run-make tests we run a risk of leaking the `MAKEFLAGS` environment variable if `./x.py` itself was called from `make` (aka `make check -j3` as the OSX bots do). We may then leak accidentally fds into the child process and trick it into thinking it's got a jobserver! Hopefully addresses [this] spurious failure [this]: rust-lang/rust#48295 (comment)
This fixes zsh completion install when $datadir != $prefix/share