Skip to content

Commit

Permalink
Add cfg = "host" to implicit executable aspect attribute because it i…
Browse files Browse the repository at this point in the history
…s required for all attributes marked executable.

RELNOTES: None
PiperOrigin-RevId: 182082917
  • Loading branch information
dkelmer authored and Copybara-Service committed Jan 16, 2018
1 parent 1cdcdf9 commit 7285074
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion site/docs/skylark/aspects.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
}
...
Expand Down

0 comments on commit 7285074

Please sign in to comment.