Skip to content

Commit 06ded04

Browse files
nesonoclaude
andcommitted
Add platforms bazel_dep for target_compatible_with select()
Required for @platforms//os:windows repo mapping in Bzlmod. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4c0a56e commit 06ded04

3 files changed

Lines changed: 170 additions & 4 deletions

File tree

MODULE.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module(
44
compatibility_level = 3,
55
)
66

7+
bazel_dep(name = "platforms", version = "1.0.0")
78
bazel_dep(name = "rules_python", version = "1.8.5")
89
bazel_dep(name = "bazel_skylib", version = "1.9.0")
910

MODULE.bazel.lock

Lines changed: 168 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration_test/MODULE.bazel.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module(
1010
version = "0.0.0",
1111
)
1212

13+
bazel_dep(name = "platforms", version = "1.0.0")
1314
bazel_dep(name = "rules_cc", version = "0.2.17")
1415
bazel_dep(name = "rules_rust", version = "0.69.0")
1516
bazel_dep(name = "rules_shell", version = "0.6.1")

0 commit comments

Comments
 (0)