aboutsummaryrefslogtreecommitdiff
path: root/examples/crate_universe/no_cargo_manifests/.bazelrc
blob: d7379de6991e61a80209c4f0bdeeda2ecc4055f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# A config file containing Bazel settings

# Required on windows
common --enable_platform_specific_config
startup --windows_enable_symlinks
build:windows --enable_runfiles

# Enable rustfmt
build:strict --aspects=@rules_rust//rust:defs.bzl%rustfmt_aspect
build:strict --output_groups=+rustfmt_checks

# Enable clippy
build:strict --aspects=@rules_rust//rust:defs.bzl%rust_clippy_aspect
build:strict --output_groups=+clippy_checks

# TODO: migrate all dependencies from WORKSPACE to MODULE.bazel
# https://github.com/bazelbuild/rules_rust/issues/2181
common --noenable_bzlmod

# This import should always be last to allow users to override
# settings for local development.
try-import %workspace%/user.bazelrc