fork/rules_rust
git clone https://git.julia.blue/fork/rules_rust
d51bf9ce
rust-analyzer
1# `.bazelrc` is a Bazel configuration file. 2# https://bazel.build/docs/best-practices#bazelrc-file 3 4# Enable rustfmt for all targets in the workspace 5build:rustfmt --aspects=@rules_rust//rust:defs.bzl%rustfmt_aspect 6build:rustfmt --output_groups=+rustfmt_checks 7 8# Enable clippy for all targets in the workspace 9build:clippy --aspects=@rules_rust//rust:defs.bzl%rust_clippy_aspect 10build:clippy --output_groups=+clippy_checks 11 12# Confirm crate universe works without relying on the legacy 13# external symlink in runfiles. 14build --nolegacy_external_runfiles 15 16# This import should always be last to allow users to override 17# settings for local development. 18try-import %workspace%/user.bazelrc