Skip to content

Set explicit required components for rustup. (cherrypick of #11422 and #11420)#11423

Merged
stuhood merged 1 commit into
pantsbuild:2.2.xfrom
stuhood:stuhood/pick-11422-for-2.2.x
Jan 7, 2021
Merged

Set explicit required components for rustup. (cherrypick of #11422 and #11420)#11423
stuhood merged 1 commit into
pantsbuild:2.2.xfrom
stuhood:stuhood/pick-11422-for-2.2.x

Conversation

@stuhood
Copy link
Copy Markdown
Member

@stuhood stuhood commented Jan 6, 2021

Problem

The default components installed for a rustup toolchain are not guaranteed to include cargo, clippy, etc.

Solution

Expand our rust-toolchain file to explicitly list the components that we need. We do not pin rustup for now, as it generally changes backwards-compatibly. We can revisit that in the future if it continues to change in breaking ways.

[ci skip-build-wheels]

Followup to pantsbuild#11420: we additionally need the stdlib.
@stuhood stuhood merged commit af0a7b1 into pantsbuild:2.2.x Jan 7, 2021
@stuhood stuhood deleted the stuhood/pick-11422-for-2.2.x branch January 7, 2021 05:35
@stuhood stuhood mentioned this pull request Jan 11, 2021
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.

2 participants