Commit 4250824
fix: don't set distribs in version transitioning rule (bazel-contrib#1412)
This makes the version-aware transition rule compatible with an upcoming
Bazel change that
disallows setting unknown attributes to None (the `distribs` attribute,
in this case).
The `distribs` attribute was common to all rules, but it has been long
deprecated and
it won't be part of every rule in upcoming Bazel versions. The previous
implementation
resulted in setting `distribs = None` on the target. Bazel won't support
setting
undefined attributes to None.
Addresses: bazelbuild/bazel#19403
---------
Co-authored-by: Richard Levasseur <[email protected]>1 parent 5ea804f commit 4250824
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
| |||
166 | 165 | | |
167 | 166 | | |
168 | 167 | | |
169 | | - | |
170 | 168 | | |
171 | 169 | | |
172 | 170 | | |
| |||
0 commit comments