Skip to content

Commit

Permalink
[bzlmod] Add dependency on platforms (bazelbuild#960)
Browse files Browse the repository at this point in the history
This was discovered while registering the latest rules_swift release
into the BCR and running the validation pipelines there. It was tricky
to debug, but it seems like either a recent change in rules_swift or
bzlmod and Bazel caused this to be required.

bazelbuild/bazel-central-registry#327

Now that bzlmod is more stable, we should likely look into adding a
bzlmod verification pipeline directly in this repo so we can catch
regressions earlier.
  • Loading branch information
BalestraPatrick authored Dec 23, 2022
1 parent 1ad2c8d commit 6460ccf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module(
bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "apple_support", repo_name = "build_bazel_apple_support", version = "1.3.2")
bazel_dep(name = "rules_cc", version = "0.0.2")
bazel_dep(name = "platforms", version = "0.0.5")
bazel_dep(name = "protobuf", repo_name = "com_google_protobuf", version = "3.19.2") # To be removed once rules_proto is bzlmod-ready.

non_module_deps = use_extension("//swift:extensions.bzl", "non_module_deps")
Expand Down

0 comments on commit 6460ccf

Please sign in to comment.