From 928a4698fbd8a04b87b3667801e8ee35e5efad61 Mon Sep 17 00:00:00 2001 From: Googler Date: Tue, 26 Jul 2022 03:45:03 -0700 Subject: [PATCH] Fix documentation for use_{cpp,cc}_toolchain. The `mandatory` parameter is no longer unused, it is now passed in to `toolchain_type`. PiperOrigin-RevId: 463298104 Change-Id: I49927f97d1355d76849e0582870e02ade143399b --- tools/cpp/toolchain_utils.bzl | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/cpp/toolchain_utils.bzl b/tools/cpp/toolchain_utils.bzl index 29dd09c4172f33..07cf08ab759dd9 100644 --- a/tools/cpp/toolchain_utils.bzl +++ b/tools/cpp/toolchain_utils.bzl @@ -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`.