commit | eb06a7974f448b3a2199d490282906d698c2d316 | [log] [tgz] |
---|---|---|
author | UebelAndre <github@uebelandre.com> | Mon May 17 10:14:42 2021 -0700 |
committer | GitHub <noreply@github.com> | Mon May 17 10:14:42 2021 -0700 |
tree | 4e38c480cc4530d44c0265d477ff70b55967283e | |
parent | 971ff6616de095002d22c69d9418f9aefc241076 [diff] |
Added `rustfmt` rules and aspects. (#722) * Added `rustfmt` rules and aspects * Regenerate documentation * Update rust/private/rustfmt.bzl Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com> * Update test/rustfmt/rustfmt_failure_test.sh Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com> * Update tools/rustfmt/srcs/main.rs Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com> * Created a helper function for parsing formattable srcs * Regenerate documentation * Remove `canonicalize` * Combined `rustfmt_check_aspect` into `rustfmt_aspect`. * Regenerate documentation * Label fields should be public so they're usable outside of the crate. * The `rustfmt` rule binaries can now take a list of targets * Fixed missing configs * Added a test rule and used a build setting to control the rustfmt config * Regenerate documentation * Updated function name * Updated comment * Updated rustmt query to be more broad * Updated rustfmt manifest format * Regenerate documentation Co-authored-by: Daniel Wagner-Hall <dawagner@gmail.com>
This repository provides rules for building Rust projects with Bazel.
Please refer to the full documentation.