You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The returned `dict` can be added to the rule's attributes using Skylib's `dicts.add()` method.
49
+
The returned `dict` can be added to the rule's attributes using a [Starlark dictionary union expression: `|`](https://bazel.build/rules/lib/core/dict).
Returns a dictionary of all known Apple platform constraints that can be resolved.
142
142
143
-
The returned `dict` can be added to the rule's attributes using Skylib's `dicts.add()` method.
143
+
The returned `dict` can be added to the rule's attributes using a [Starlark dictionary union expression: `|`](https://bazel.build/rules/lib/core/dict).
144
144
145
145
146
146
@@ -166,7 +166,7 @@ following:
166
166
167
167
*`fragments = ["apple"]`
168
168
* Add the `apple_support.action_required_attrs()` attributes to the `attrs` dictionary. This
169
-
can be done using the `dicts.add()` method from Skylib.
169
+
can be done using a [Starlark dictionary union expression: `|`](https://bazel.build/rules/lib/core/dict)
170
170
171
171
This method registers an action to run on an Apple machine, configuring it to ensure that the
172
172
`DEVELOPER_DIR` and `SDKROOT` environment variables are set.
@@ -226,7 +226,7 @@ the following:
226
226
227
227
*`fragments = ["apple"]`
228
228
* Add the `apple_support.action_required_attrs()` attributes to the `attrs` dictionary. This
229
-
can be done using the `dicts.add()` method from Skylib.
229
+
can be done using a [Starlark dictionary union expression: `|`](https://bazel.build/rules/lib/core/dict).
230
230
231
231
This method registers an action to run on an Apple machine, configuring it to ensure that the
232
232
`DEVELOPER_DIR` and `SDKROOT` environment variables are set.
@@ -264,7 +264,7 @@ In order to use `apple_support.target_arch_from_rule_ctx()`, you'll need to modi
264
264
definition to add the following:
265
265
266
266
* Add the `apple_support.platform_constraint_attrs()` attributes to the `attrs` dictionary.
267
-
This can be done using the `dicts.add()` method from Skylib.
267
+
This can be done using a [Starlark dictionary union expression: `|`](https://bazel.build/rules/lib/core/dict).
268
268
269
269
270
270
**PARAMETERS**
@@ -301,7 +301,7 @@ In order to use `apple_support.target_environment_from_rule_ctx()`, you'll need
301
301
rule definition to add the following:
302
302
303
303
* Add the `apple_support.platform_constraint_attrs()` attributes to the `attrs` dictionary.
304
-
This can be done using the `dicts.add()` method from Skylib.
304
+
This can be done using a [Starlark dictionary union expression: `|`](https://bazel.build/rules/lib/core/dict).
305
305
306
306
307
307
**PARAMETERS**
@@ -337,7 +337,7 @@ In order to use `apple_support.target_os_from_rule_ctx()`, you'll need to modify
337
337
definition to add the following:
338
338
339
339
* Add the `apple_support.platform_constraint_attrs()` attributes to the `attrs` dictionary.
340
-
This can be done using the `dicts.add()` method from Skylib.
340
+
This can be done using a [Starlark dictionary union expression: `|`](https://bazel.build/rules/lib/core/dict).
0 commit comments