-
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: don't try to install rls if ToolState is not Testing #45588
Conversation
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
Thanks! Could this use the return value of |
Sure, I just naively did the same as in the Dist phase. |
The Dist Step is not ran in that case so we would end up trying to install something that we didn't dist. Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
I'm wondering, should we just split the block in two macro parameters, the first one being the dist step we depend on and the second one being the actual edit: looks like |
@alexcrichton FYI, in case I made it unclear, I amended my initial commit with your suggestion |
@bors: r+ Thanks! |
📌 Commit 784528b has been approved by |
⌛ Testing commit 784528b with merge 31040922a2f540ccc5293596559b4f4ae5eeae8a... |
rustbuild: don't try to install rls if ToolState is not Testing We already do that for the Dist Step so we would end up trying to install something that we didn't dist.
@bors retry — prioritizing rollup |
rustbuild: don't try to install rls if ToolState is not Testing We already do that for the Dist Step so we would end up trying to install something that we didn't dist.
We already do that for the Dist Step so we would end up trying to install something that we didn't dist.