Update rules_cc doc references for inclusive-language-fixit-2

PiperOrigin-RevId: 405732925
Change-Id: If700320f2e8f3e45f2fbdf08e945ea94dfe32887
This commit is contained in:
Googler 2021-10-26 14:15:49 -07:00 committed by Copybara-Service
parent 8f861e884c
commit f846566869
5 changed files with 19 additions and 19 deletions

View File

@ -1,6 +1,6 @@
# C++ rules for Bazel
* Postsubmit [![Build status](https://badge.buildkite.com/f03592ae2d7d25a2abc2a2ba776e704823fa17fd3e061f5103.svg?branch=master)](https://buildkite.com/bazel/rules-cc)
* Postsubmit [![Build status](https://badge.buildkite.com/f03592ae2d7d25a2abc2a2ba776e704823fa17fd3e061f5103.svg?branch=main)](https://buildkite.com/bazel/rules-cc)
* Postsubmit + Current Bazel Incompatible flags [![Build status](https://badge.buildkite.com/5ba709cc33e5855078a1f8570adcf8e0a78ea93591bc0b4e81.svg?branch=master)](https://buildkite.com/bazel/rules-cc-plus-bazelisk-migrate)
This repository contains Starlark implementation of C++ rules in Bazel.
@ -8,7 +8,7 @@ This repository contains Starlark implementation of C++ rules in Bazel.
The rules are being incrementally converted from their native implementations in the [Bazel source tree](https://source.bazel.build/bazel/+/master:src/main/java/com/google/devtools/build/lib/rules/cpp/).
For the list of C++ rules, see the Bazel
[documentation](https://docs.bazel.build/versions/master/be/overview.html).
[documentation](https://docs.bazel.build/versions/main/be/overview.html).
# Getting Started
@ -71,7 +71,7 @@ bazel run @rules_cc//tools/migration:legacy_fields_migrator -- \
Bazel and `rules_cc` are the work of many contributors. We appreciate your help!
To contribute, please read the contribution guidelines: [CONTRIBUTING.md](https://github.com/bazelbuild/rules_cc/blob/master/CONTRIBUTING.md).
To contribute, please read the contribution guidelines: [CONTRIBUTING.md](https://github.com/bazelbuild/rules_cc/blob/main/CONTRIBUTING.md).
Note that the `rules_cc` use the GitHub issue tracker for bug reports and feature requests only.
For asking questions see:

View File

@ -29,7 +29,7 @@ def _add_tags(attrs):
def cc_binary(**attrs):
"""Bazel cc_binary rule.
https://docs.bazel.build/versions/master/be/c-cpp.html#cc_binary
https://docs.bazel.build/versions/main/be/c-cpp.html#cc_binary
Args:
**attrs: Rule attributes
@ -41,7 +41,7 @@ def cc_binary(**attrs):
def cc_test(**attrs):
"""Bazel cc_test rule.
https://docs.bazel.build/versions/master/be/c-cpp.html#cc_test
https://docs.bazel.build/versions/main/be/c-cpp.html#cc_test
Args:
**attrs: Rule attributes
@ -53,7 +53,7 @@ def cc_test(**attrs):
def cc_library(**attrs):
"""Bazel cc_library rule.
https://docs.bazel.build/versions/master/be/c-cpp.html#cc_library
https://docs.bazel.build/versions/main/be/c-cpp.html#cc_library
Args:
**attrs: Rule attributes
@ -65,7 +65,7 @@ def cc_library(**attrs):
def cc_import(**attrs):
"""Bazel cc_import rule.
https://docs.bazel.build/versions/master/be/c-cpp.html#cc_import
https://docs.bazel.build/versions/main/be/c-cpp.html#cc_import
Args:
**attrs: Rule attributes
@ -77,7 +77,7 @@ def cc_import(**attrs):
def cc_proto_library(**attrs):
"""Bazel cc_proto_library rule.
https://docs.bazel.build/versions/master/be/c-cpp.html#cc_proto_library
https://docs.bazel.build/versions/main/be/c-cpp.html#cc_proto_library
Args:
**attrs: Rule attributes
@ -89,7 +89,7 @@ def cc_proto_library(**attrs):
def fdo_prefetch_hints(**attrs):
"""Bazel fdo_prefetch_hints rule.
https://docs.bazel.build/versions/master/be/c-cpp.html#fdo_prefetch_hints
https://docs.bazel.build/versions/main/be/c-cpp.html#fdo_prefetch_hints
Args:
**attrs: Rule attributes
@ -101,7 +101,7 @@ def fdo_prefetch_hints(**attrs):
def fdo_profile(**attrs):
"""Bazel fdo_profile rule.
https://docs.bazel.build/versions/master/be/c-cpp.html#fdo_profile
https://docs.bazel.build/versions/main/be/c-cpp.html#fdo_profile
Args:
**attrs: Rule attributes
@ -113,7 +113,7 @@ def fdo_profile(**attrs):
def cc_toolchain(**attrs):
"""Bazel cc_toolchain rule.
https://docs.bazel.build/versions/master/be/c-cpp.html#cc_toolchain
https://docs.bazel.build/versions/main/be/c-cpp.html#cc_toolchain
Args:
**attrs: Rule attributes
@ -125,7 +125,7 @@ def cc_toolchain(**attrs):
def cc_toolchain_suite(**attrs):
"""Bazel cc_toolchain_suite rule.
https://docs.bazel.build/versions/master/be/c-cpp.html#cc_toolchain_suite
https://docs.bazel.build/versions/main/be/c-cpp.html#cc_toolchain_suite
Args:
**attrs: Rule attributes
@ -137,7 +137,7 @@ def cc_toolchain_suite(**attrs):
def objc_library(**attrs):
"""Bazel objc_library rule.
https://docs.bazel.build/versions/master/be/objective-c.html#objc_library
https://docs.bazel.build/versions/main/be/objective-c.html#objc_library
Args:
**attrs: Rule attributes
@ -149,7 +149,7 @@ def objc_library(**attrs):
def objc_import(**attrs):
"""Bazel objc_import rule.
https://docs.bazel.build/versions/master/be/objective-c.html#objc_import
https://docs.bazel.build/versions/main/be/objective-c.html#objc_import
Args:
**attrs: Rule attributes

View File

@ -18,7 +18,7 @@ echo. 1>&2
echo The target you are compiling requires the Clang compiler. 1>&2
echo Bazel couldn't find a valid Clang installation on your machine. 1>&2
%{clang_error_message}
echo Please check your installation following https://docs.bazel.build/versions/master/windows.html#using 1>&2
echo Please check your installation following https://docs.bazel.build/versions/main/windows.html#using 1>&2
echo. 1>&2
exit /b 1

View File

@ -18,7 +18,7 @@ echo. 1>&2
echo The target you are compiling requires Visual C++ build tools. 1>&2
echo Bazel couldn't find a valid Visual C++ build tools installation on your machine. 1>&2
%{vc_error_message}
echo Please check your installation following https://docs.bazel.build/versions/master/windows.html#using 1>&2
echo Please check your installation following https://docs.bazel.build/versions/main/windows.html#using 1>&2
echo. 1>&2
exit /b 1

View File

@ -7,8 +7,8 @@ structured.
This is a proof-of-concept simple implementation. It doesn't construct fancy
command lines and uses mock shell scripts to compile and link
("sample_compiler" and "sample_linker"). See
https://docs.bazel.build/versions/master/cc-toolchain-config-reference.html and
https://docs.bazel.build/versions/master/tutorial/cc-toolchain-config.html for
https://docs.bazel.build/versions/main/cc-toolchain-config-reference.html and
https://docs.bazel.build/versions/main/tutorial/cc-toolchain-config.html for
advanced usage.
"""
@ -51,7 +51,7 @@ def _impl(ctx):
]
# Documented at
# https://docs.bazel.build/versions/master/skylark/lib/cc_common.html#create_cc_toolchain_config_info.
# https://docs.bazel.build/versions/main/skylark/lib/cc_common.html#create_cc_toolchain_config_info.
#
# create_cc_toolchain_config_info is the public interface for registering
# C++ toolchain behavior.