Use rustfmt from third_party/rust-toolchain/bin directory.
Chromium now has rust toolchain in a well-established directory, which is properly gated with `use_rust` gclient variable. External projects can setup this directory using their own toolchains and have rustfmt work properly in presubmit format checks. Bug: 1395070 Change-Id: I3d1de8278b9da0db1cdb75673cb7d637ce0273ab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4070004 Auto-Submit: Aleksey Khoroshilov <akhoroshilov@brave.com> Commit-Queue: Dirk Pranke <dpranke@google.com> Reviewed-by: Dirk Pranke <dpranke@google.com> Reviewed-by: danakj <danakj@chromium.org>changes/04/4070004/5
parent
b5b80d27b5
commit
6e33ba049f
Loading…
Reference in New Issue