Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
nmattia committed Oct 10, 2024
1 parent c4198e9 commit 27eaf6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@gazelle//:def.bzl", "gazelle")
load("@bazel_skylib//rules:common_settings.bzl", "string_setting")
load("@gazelle//:def.bzl", "gazelle")
load("@rules_python//python:pip.bzl", "compile_pip_requirements")

package(default_visibility = ["//visibility:public"])
Expand Down
1 change: 0 additions & 1 deletion WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ oci_register_toolchains(name = "oci")

load("@rules_oci//oci:pull.bzl", "oci_pull")
load("//bazel:mainnet-canisters.bzl", "canisters")

load("//third_party/lmdb:repository.bzl", "lmdb_repository")

# We cannot derive the Bazel repository names (e.g. @mainnet_nns_registry_canister) directly
Expand Down
5 changes: 2 additions & 3 deletions bazel/prost.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_test")

# the prost crate expects PROTOC_INCLUDE to point to a directory containing
# various .proto files. Creating a directory is not straightforward in Bazel
# so as a workaround we simply point to the sources. Unfortunately
# needs to be updated whenever we bump protobuf.
PROTOC_INCLUDE = "external/protobuf~28.2/src"
# so as a workaround we simply point to the sources.
PROTOC_INCLUDE = "external/protobuf~/src"

def generated_files_check(name, srcs, deps, data, manifest_dir):
rust_test(
Expand Down

0 comments on commit 27eaf6f

Please sign in to comment.