blob: 5b3cd4157ef7f856b6ba1b97281118cc52f07dd2 [file] [log] [blame]
UebelAndre52c87aa2021-06-01 14:18:58 -07001# `.bazelrc` is a Bazel configuration file.
2# https://docs.bazel.build/versions/master/best-practices.html#using-the-bazelrc-file
3
4# Enable rustfmt for all targets in the workspace
5build:rustfmt --aspects=//rust:defs.bzl%rustfmt_aspect
6build:rustfmt --output_groups=+rustfmt_checks
UebelAndreed647162021-07-10 09:22:07 -07007
8# Enable clippy for all targets in the workspace
9build:clippy --aspects=//rust:defs.bzl%rust_clippy_aspect
10build:clippy --output_groups=+clippy_checks
OJ Kwon8ae83f02021-08-20 14:44:39 -070011
12# https://bazel.googlesource.com/bazel/+/master/site/docs/windows.md#enable-symlink-support
13startup --windows_enable_symlinks