diff options
author | John Cater <jcater@google.com> | 2018-01-03 09:19:35 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-01-03 09:21:47 -0800 |
commit | 283666d7547da8e76c8a929decb14eac9c200941 (patch) | |
tree | 59c1eb1b7d0961c93d31a4c29833a7ce4486408a /site/docs/platforms.md | |
parent | 693abdcf0947bcc9f8010ea139b5b7b37eaa0a0e (diff) |
Expose platform flags for documentation purposes.
Also remove experimental tag from platform and toolchain flags in docs.
Fixes #4372.
Change-Id: I4e8f29273b52fbaabf9c97d1a7563f817601653f
PiperOrigin-RevId: 180678722
Diffstat (limited to 'site/docs/platforms.md')
-rw-r--r-- | site/docs/platforms.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/site/docs/platforms.md b/site/docs/platforms.md index d8102c1c52..8cdc3d7e3f 100644 --- a/site/docs/platforms.md +++ b/site/docs/platforms.md @@ -124,9 +124,9 @@ In these definitions, the CPU architecture constraint values are pulled from the To select a specific host and target platform for a build, use the following command-line flags: -* `--experimental_host_platform` - defaults to `@bazel_tools//platforms:host_platform` +* `--host_platform` - defaults to `@bazel_tools//platforms:host_platform` -* `--experimental_platforms` - defaults to `@bazel_tools//platforms:target_platform` +* `--platforms` - defaults to `@bazel_tools//platforms:target_platform` Platforms can also be used with the `config_setting` rule to define configurable attributes. See [config_setting](be/general.html#config_setting) for more |