Skip to content

Commit 1698d2b

Browse files
Googlercopybara-github
authored andcommitted
Apply external repo transforms to all migrated files
This ensures that markdown files also have //third_party/* labels changed to external-friendly @foo// labels. PiperOrigin-RevId: 694229457 Change-Id: I7f3bd56f0a196112a82159d6f47f8285049fc324
1 parent 28cf2e8 commit 1698d2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/toolchain_api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -700,11 +700,11 @@ When building a [`cc_toolchain`](#cc_toolchain) configuration, it's important to
700700
statements will be evaluated:
701701

702702
* Most attributes and dependencies of a [`cc_toolchain`](#cc_toolchain) are evaluated under the target platform.
703-
This means that a `//third_party/bazel_platforms/os:linux` constraint will be satisfied when
703+
This means that a `@platforms//os:linux` constraint will be satisfied when
704704
the final compiled binaries are intended to be ran from a Linux machine. This means that
705705
a different operating system (e.g. Windows) may be cross-compiling to linux.
706706
* The [`cc_tool_map`](#cc_tool_map) rule performs a transition to the exec platform when evaluating tools. This
707-
means that a if a `//third_party/bazel_platforms/os:linux` constraint is satisfied in a
707+
means that a if a `@platforms//os:linux` constraint is satisfied in a
708708
`select` statement on a [`cc_tool`](#cc_tool), that means the machine that will run the tool is a Linux
709709
machine. This means that a Linux machine may be cross-compiling to a different OS
710710
like Windows.

0 commit comments

Comments
 (0)