1# A config file containing Bazel settings 2 3# Required on windows 4common --enable_platform_specific_config 5startup --windows_enable_symlinks 6build:windows --enable_runfiles 7 8# Enable rustfmt 9build:strict --aspects=@rules_rust//rust:defs.bzl%rustfmt_aspect 10build:strict --output_groups=+rustfmt_checks 11 12# Enable clippy 13build:strict --aspects=@rules_rust//rust:defs.bzl%rust_clippy_aspect 14build:strict --output_groups=+clippy_checks 15 16# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel 17# https://github.com/bazelbuild/rules_rust/issues/2181 18common --noenable_bzlmod 19 20# This isn't currently the defaut in Bazel, but we enable it to test we'll be ready if/when it flips. 21build --incompatible_disallow_empty_glob 22 23# This import should always be last to allow users to override 24# settings for local development. 25try-import %workspace%/user.bazelrc 26