Fix a few typos in the execution groups documentation.
PiperOrigin-RevId: 319274761
diff --git a/site/docs/exec-groups.md b/site/docs/exec-groups.md
index 724f011..05820e8 100644
--- a/site/docs/exec-groups.md
+++ b/site/docs/exec-groups.md
@@ -56,7 +56,7 @@
),
},
attrs = {
- "_compiler": attr.label(cfg = config.exec(“link”))
+ "_compiler": attr.label(cfg = config.exec("link"))
},
)
```
@@ -83,7 +83,7 @@
def _impl(ctx):
ctx.actions.run(
inputs = [ctx.attr._some_tool, ctx.srcs[0]]
- exec_group = "compile”,
+ exec_group = "compile",
# ...
)
```
@@ -95,10 +95,10 @@
```python
# foo.bzl
def _impl(ctx):
- foo_info = ctx.exec_groups[‘link’].toolchains[‘//foo:toolchain_type”].fooinfo
+ foo_info = ctx.exec_groups["link"].toolchains["//foo:toolchain_type"].fooinfo
ctx.actions.run(
inputs = [foo_info, ctx.srcs[0]]
- exec_group = "link”,
+ exec_group = "link",
# ...
)
```
@@ -123,14 +123,14 @@
my_rule(
name = 'my_target',
exec_properties = {
- 'mem': '12G',
- 'link.mem': '16G'
+ 'mem': '12g',
+ 'link.mem': '16g'
}
…
)
```
All actions with `exec_group = "link"` would see the exec properties
-dictionary as `{"memory": "16G"}`. As you see here, execution-group-level
+dictionary as `{"memory": "16g"}`. As you see here, execution-group-level
settings override target-level settings.