Skip to content

Commit

Permalink
Remove the documentation for cc_toolchain.cpu and cc_toolchain.compil…
Browse files Browse the repository at this point in the history
…er .

The attributes themselves were removed in 0567176.

RELNOTES: None.
PiperOrigin-RevId: 571882966
Change-Id: I1996408e4dc9d330754ad68510971f8d9e5e3e88
  • Loading branch information
lberki authored and copybara-github committed Oct 9, 2023
1 parent 99963ee commit 1c45f49
Showing 1 changed file with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import static com.google.devtools.build.lib.packages.BuildType.LABEL;
import static com.google.devtools.build.lib.packages.BuildType.LICENSE;
import static com.google.devtools.build.lib.packages.Type.BOOLEAN;
import static com.google.devtools.build.lib.packages.Type.STRING;

import com.google.devtools.build.lib.analysis.BaseRuleClasses;
import com.google.devtools.build.lib.analysis.PlatformConfiguration;
Expand Down Expand Up @@ -62,28 +61,6 @@ public RuleClass build(RuleClass.Builder builder, RuleDefinitionEnvironment env)
.requiresConfigurationFragments(CppConfiguration.class, PlatformConfiguration.class)
.advertiseProvider(TemplateVariableInfo.class)
.add(attr("output_licenses", LICENSE))
/* <!-- #BLAZE_RULE(cc_toolchain).ATTRIBUTE(cpu) -->
Deprecated. Use toolchain_identifier attribute instead. It will be a noop after
<a href="https://github.com/bazelbuild/bazel/issues/5380">CROSSTOOL migration to Starlark
</a>, and will be removed by
<a href="https://github.com/bazelbuild/bazel/issues/7075">#7075</a>.
<p>When set, it will be used to perform crosstool_config.toolchain selection. It will take
precedence over --cpu Bazel option.</p>
<!-- #END_BLAZE_RULE.ATTRIBUTE -->*/
.add(attr("cpu", STRING).nonconfigurable("Used in configuration creation"))
/* <!-- #BLAZE_RULE(cc_toolchain).ATTRIBUTE(compiler) -->
Deprecated. Use <code>toolchain_identifier</code> attribute instead. It will be a noop
after
<a href="https://github.com/bazelbuild/bazel/issues/5380">
CROSSTOOL migration to Starlark
</a>, and will be removed by
<a href="https://github.com/bazelbuild/bazel/issues/7075">#7075</a>.
<p>When set, it will be used to perform crosstool_config.toolchain selection. It will take
precedence over --cpu Bazel option.</p>
<!-- #END_BLAZE_RULE.ATTRIBUTE -->*/
.add(attr("compiler", STRING).nonconfigurable("Used in configuration creation"))
/* <!-- #BLAZE_RULE(cc_toolchain).ATTRIBUTE(all_files) -->
Collection of all cc_toolchain artifacts. These artifacts will be added as inputs to all
rules_cc related actions (with the exception of actions that are using more precise sets of
Expand Down

0 comments on commit 1c45f49

Please sign in to comment.