Skip to content

Commit

Permalink
Fix documentation for use_{cpp,cc}_toolchain.
Browse files Browse the repository at this point in the history
The `mandatory` parameter is no longer unused, it is now passed in to `toolchain_type`.

PiperOrigin-RevId: 463298104
Change-Id: I49927f97d1355d76849e0582870e02ade143399b
  • Loading branch information
katre authored and Copybara-Service committed Jul 26, 2022
1 parent 5b64255 commit 928a469
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/cpp/toolchain_utils.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ def use_cpp_toolchain(mandatory = False):
Args:
mandatory: Whether or not it should be an error if the toolchain cannot be resolved.
Currently ignored, this will be enabled when optional toolchain types are added.
Returns:
A list that can be used as the value for `rule.toolchains`.
Expand Down

0 comments on commit 928a469

Please sign in to comment.