On some machines, the current set of commands won't necessarily install the rustfmt component.
Adding this call to both CONTRIBUTING.md and install-dependencies.sh doesn't error when rustfmt is already there, but will install it if it isn't.
Differential D11718
[Chronik] Add line to CONTRIBUTING.md and install-dependencies.sh ensuring rustfmt when installing nightly tobias_ruck on Jul 5 2022, 23:23. Authored by Tags None Subscribers None
Details
On some machines, the current set of commands won't necessarily install the rustfmt component. Adding this call to both CONTRIBUTING.md and install-dependencies.sh doesn't error when rustfmt is already there, but will install it if it isn't. Run the commands in e.g. a clean docker environment, will either install rustfmt or output info: component 'rustfmt' for target '<target>' is up to date
Diff Detail
|