Skip to content

Commit

Permalink
Update platforms to 0.0.9 (#317)
Browse files Browse the repository at this point in the history
Fixes a Bazel @ HEAD issue in `rules_swift`

```
ERROR: Error computing the main repository mapping: Label '@@platforms//host:extension.bzl' is invalid because 'host' is not a package; perhaps you meant to put the colon here: '@@platforms//:host/extension.bzl'
```
  • Loading branch information
luispadron authored Apr 1, 2024
1 parent 4df4418 commit a1c4ec2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module(
)

bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "platforms", version = "0.0.7")
bazel_dep(name = "platforms", version = "0.0.9")

bazel_dep(
name = "stardoc",
Expand Down
6 changes: 3 additions & 3 deletions lib/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ def apple_support_dependencies():
http_archive,
name = "platforms",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz",
"https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz",
"https://github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz",
],
sha256 = "3a561c99e7bdbe9173aa653fd579fe849f1d8d67395780ab4770b1f381431d51",
sha256 = "5eda539c841265031c2f82d8ae7a3a6490bd62176e0c038fc469eabf91f6149b",
)

apple_cc_configure()

0 comments on commit a1c4ec2

Please sign in to comment.