Skip to content

Commit a0165e1

Browse files
committed
Produce target_compatible_with on buildscript_run transition aliases
1 parent 81ec98f commit a0165e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

defs.bzl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,10 @@ def rust_bootstrap_library(
122122
)
123123

124124
def rust_bootstrap_buildscript_run(**kwargs):
125+
constraints = _target_constraints(None)
125126
buildscript_run(
126-
target_compatible_with = _target_constraints(None),
127+
target_compatible_with = constraints,
128+
buildscript_compatible_with = constraints,
127129
**kwargs
128130
)
129131

0 commit comments

Comments
 (0)