Page MenuHomePhabricator

[Chronik] Install nightly rust toolchain dependency (as "abc-nightly")
ClosedPublic

Authored by tobias_ruck on Jun 29 2022, 23:20.

Details

Summary

Install nightly-2022-06-29 in install-dependencies.sh

This allows us to use the unstable features of rustfmt, most importantly --skip-children, which gives us similar behavior to the other linters.

We name it "abc-nightly", and invoke it by adding +abc-nightly to commands.

Test Plan
  1. docker run -i -t bitcoinabc/bitcoin-abc-dev
  2. Paste the lines in the diff
  3. $RUST_HOME/rustc +abc-nightly --version outputs rustc 1.64.0-nightly (830880640 2022-06-28)

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested changes to this revision.Jul 1 2022, 11:53
Fabien added inline comments.
contrib/utils/install-dependencies.sh
145 ↗(On Diff #34186)
147 ↗(On Diff #34186)
This revision now requires changes to proceed.Jul 1 2022, 11:53
This revision is now accepted and ready to land.Jul 1 2022, 16:56