Skip to content

Commit d8b4a14

Browse files
committed
Remove //constraints:false in favor of prelude//:none
1 parent 17444fd commit d8b4a14

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

constraints/BUCK

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
load(":defs.bzl", "constraint")
22

3-
constraint(
4-
setting = "false",
5-
)
6-
73
constraint(
84
setting = "sysroot-deps",
95
values = [

defs.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def _target_constraints(crate_root):
162162
]
163163
else:
164164
target_compatible_with = select({
165-
"DEFAULT": ["//constraints:false"],
165+
"DEFAULT": ["prelude//:none"],
166166
"//constraints:compiler": [],
167167
"//constraints:library": [],
168168
})

platforms/exec/BUCK

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ alias(
22
name = "os_lookup",
33
actual = "prelude//os_lookup/targets:os_lookup",
44
target_compatible_with = select({
5-
"DEFAULT": ["//constraints:false"],
5+
"DEFAULT": ["prelude//:none"],
66
"prelude//os:linux": [],
77
"prelude//os:macos": [],
88
"prelude//os:windows": [],
@@ -14,7 +14,7 @@ alias(
1414
name = "http_archive",
1515
actual = "prelude//http_archive/tools:exec_deps",
1616
target_compatible_with = select({
17-
"DEFAULT": ["//constraints:false"],
17+
"DEFAULT": ["prelude//:none"],
1818
"prelude//os:linux": [],
1919
"prelude//os:macos": [],
2020
"prelude//os:windows": [],

0 commit comments

Comments
 (0)