Skip to content

Commit

Permalink
chore: point to non-deprecated rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Sep 17, 2024
1 parent 43f62cc commit d40a19e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion example/tools/format/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ format_multirun(
markdown = ":prettier",
protocol_buffer = "//tools/lint:buf",
python = "@aspect_rules_lint//format:ruff",
rust = "@rules_rust//tools/rustfmt:upstream_rustfmt",
# Note, older rules_rust versions may need
# @rules_rust//tools/rustfmt:upstream_rustfmt
# which was later deprecated in
# https://github.com/bazelbuild/rules_rust/pull/2703
rust = "@rules_rust//tools/upstream_wrapper:rustfmt",
scala = ":scalafmt",
shell = "@aspect_rules_lint//format:shfmt",
sql = ":prettier",
Expand Down

0 comments on commit d40a19e

Please sign in to comment.