Skip to content

Commit

Permalink
Upgrade rustc, use new nightly, rules_python, and rustfmt
Browse files Browse the repository at this point in the history
Upgrades various packages as well as adds rustfmt to:
`bazel test //...`
  • Loading branch information
allada committed Nov 3, 2021
1 parent efcb653 commit d0c31fb
Show file tree
Hide file tree
Showing 86 changed files with 278 additions and 5,185 deletions.
10 changes: 10 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,13 @@ build:debug -c dbg

build:self_test --remote_instance_name=main
build:self_test --remote_cache=grpc://127.0.0.1:50051

build --aspects=@rules_rust//rust:defs.bzl%rustfmt_aspect
build --@rules_rust//:rustfmt.toml=//:.rustfmt.toml
# This will make rustfmt only run on `bazel test`.
test --output_groups=+rustfmt_checks

# Simple hack to remove Bazel debug warning:
# "indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since".
# If cargo raze ever supports something that will make this error go away we can remove this.
build --ui_event_filters=-DEBUG
2 changes: 2 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Copyright 2020-2021 Nathan (Blaise) Bruer. All rights reserved.

exports_files([".rustfmt.toml"])

genrule(
name = "dummy_test_sh",
outs = ["dummy_test.sh"],
Expand Down
Loading

0 comments on commit d0c31fb

Please sign in to comment.