Skip to content

Commit

Permalink
Update platform constraints to be compatible with bazel 6
Browse files Browse the repository at this point in the history
Signed-off-by: Vihang Mehta <vihang@pixielabs.ai>
  • Loading branch information
vihangm authored and gjasny committed Dec 22, 2022
1 parent 66e60b4 commit 81e208c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bazel/civetweb.BUILD
Expand Up @@ -3,14 +3,14 @@ licenses(["notice"]) # MIT license
config_setting(
name = "osx",
constraint_values = [
"@bazel_tools//platforms:osx",
"@platforms//os:osx",
],
)

config_setting(
name = "windows",
constraint_values = [
"@bazel_tools//platforms:windows",
"@platforms//os:windows",
],
)

Expand Down
4 changes: 2 additions & 2 deletions bazel/curl.BUILD
Expand Up @@ -23,15 +23,15 @@ package(features = ["no_copts_tokenization"])
config_setting(
name = "windows",
constraint_values = [
"@bazel_tools//platforms:windows",
"@platforms//os:windows",
],
visibility = ["//visibility:private"],
)

config_setting(
name = "osx",
constraint_values = [
"@bazel_tools//platforms:osx",
"@platforms//os:osx",
],
visibility = ["//visibility:private"],
)
Expand Down

0 comments on commit 81e208c

Please sign in to comment.