example-bazel-monorepo icon indicating copy to clipboard operation
example-bazel-monorepo copied to clipboard

Incorporate rustfmt into project linting

Open thundergolfer opened this issue 5 years ago β€’ 0 comments

Description

Thanks to https://github.com/bazelbuild/rules_rust/commit/fe50d3b54aecbaeac48abdc2ca7cd00a94969e15#diff-d5825ae12e45363c451d288f385bfda1L147 rustfmt is now easily available in the WORKSPACE. See:

bazel run @rust_darwin_x86_64//:rustfmt -- --help

Will have to use a select to handle the fact that the external repo will be different on CI (Linux).

thundergolfer avatar Mar 22 '20 08:03 thundergolfer