Skip to content

Commit

Permalink
Add info about RunEnvironmentInfo to binary/env.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Grzegorz Lukasik authored and Grzegorz Lukasik committed Jan 9, 2024
1 parent 07a42d4 commit 07475d8
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@

<p>
This attribute only applies to native rules, like <code>cc_binary</code>, <code>py_binary</code>,
and <code>sh_binary</code>. It does not apply to Starlark-defined executable rules.
and <code>sh_binary</code>. It does not apply to Starlark-defined executable rules. For your own
Starlark rules, you can add an "env" attribute and use it to populate a

<a href="/rules/lib/providers/RunEnvironmentInfo.html">RunEnvironmentInfo</a>

Provider.
</p>

<p>
Expand Down

0 comments on commit 07475d8

Please sign in to comment.