aboutsummaryrefslogtreecommitdiffhomepage
path: root/site
diff options
context:
space:
mode:
authorGravatar dannark <dannark@google.com>2018-01-16 11:11:19 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-01-16 11:13:10 -0800
commit72850745a32c7153408f1da77de96fead4b3ae60 (patch)
treee9917e1a7cbef60fba9680743cec5809c48b6858 /site
parent1cdcdf9a72458850f8a0f40c7cab1699685ed6cc (diff)
Add cfg = "host" to implicit executable aspect attribute because it is required for all attributes marked executable.
RELNOTES: None PiperOrigin-RevId: 182082917
Diffstat (limited to 'site')
-rw-r--r--site/docs/skylark/aspects.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/site/docs/skylark/aspects.md b/site/docs/skylark/aspects.md
index 19f45f8e2c..8f0d707e10 100644
--- a/site/docs/skylark/aspects.md
+++ b/site/docs/skylark/aspects.md
@@ -279,7 +279,8 @@ demonstrates how you could pass in a tool to a aspect:
attrs = {
'_protoc' : attr.label(
default = Label('//tools:protoc'),
- executable = True
+ executable = True,
+ cfg = "host"
)
}
...