You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<tr><tdstyle="text-align: left"><aid="cargo_bootstrap_repository-compressed_windows_toolchain_names"></a>compressed_windows_toolchain_names</td><tdstyle="text-align: left">Whether or not the toolchain names of windows toolchains are expected to be in a <code>compressed</code> format.</td><tdstyle="text-align: left">Boolean</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>True</code></td></tr>
349
349
<tr><tdstyle="text-align: left"><aid="cargo_bootstrap_repository-env"></a>env</td><tdstyle="text-align: left">A mapping of platform triple to a set of environment variables. See <ahref="#cargo_env">cargo_env</a> for usage details. Additionally, the platform triple <code>*</code> applies to all platforms.</td><tdstyle="text-align: left"><ahref="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a></td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>{}</code></td></tr>
350
350
<tr><tdstyle="text-align: left"><aid="cargo_bootstrap_repository-env_label"></a>env_label</td><tdstyle="text-align: left">A mapping of platform triple to a set of environment variables. This attribute differs from <code>env</code> in that all variables passed here must be fully qualified labels of files. See <ahref="#cargo_env">cargo_env</a> for usage details. Additionally, the platform triple <code>*</code> applies to all platforms.</td><tdstyle="text-align: left"><ahref="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a></td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>{}</code></td></tr>
351
-
<tr><tdstyle="text-align: left"><aid="cargo_bootstrap_repository-repo_mapping"></a>repo_mapping</td><tdstyle="text-align: left">In <code>WORKSPACE</code> context only: a dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<br><br>For example, an entry <code>"@foo": "@bar"</code> declares that, for any time this repository depends on <code>@foo</code> (such as a dependency on <code>@foo//some:target</code>, it should actually resolve that dependency within globally-declared <code>@bar</code> (<code>@bar//some:target</code>).<br><br>This attribute is <em>not</em> supported in <code>MODULE.bazel</code> context (when invoking a repository rule inside a module extension's implementation function).</td><tdstyle="text-align: left"><ahref="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a></td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"></td></tr>
352
351
<tr><tdstyle="text-align: left"><aid="cargo_bootstrap_repository-rust_toolchain_cargo_template"></a>rust_toolchain_cargo_template</td><tdstyle="text-align: left">The template to use for finding the host <code>cargo</code> binary. <code>{version}</code> (eg. '1.53.0'), <code>{triple}</code> (eg. 'x86_64-unknown-linux-gnu'), <code>{arch}</code> (eg. 'aarch64'), <code>{vendor}</code> (eg. 'unknown'), <code>{system}</code> (eg. 'darwin'), <code>{channel}</code> (eg. 'stable'), and <code>{tool}</code> (eg. 'rustc.exe') will be replaced in the string if present.</td><tdstyle="text-align: left">String</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>"@rust_{system}_{arch}__{triple}__{channel}_tools//:bin/{tool}"</code></td></tr>
353
352
<tr><tdstyle="text-align: left"><aid="cargo_bootstrap_repository-rust_toolchain_rustc_template"></a>rust_toolchain_rustc_template</td><tdstyle="text-align: left">The template to use for finding the host <code>rustc</code> binary. <code>{version}</code> (eg. '1.53.0'), <code>{triple}</code> (eg. 'x86_64-unknown-linux-gnu'), <code>{arch}</code> (eg. 'aarch64'), <code>{vendor}</code> (eg. 'unknown'), <code>{system}</code> (eg. 'darwin'), <code>{channel}</code> (eg. 'stable'), and <code>{tool}</code> (eg. 'rustc.exe') will be replaced in the string if present.</td><tdstyle="text-align: left">String</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>"@rust_{system}_{arch}__{triple}__{channel}_tools//:bin/{tool}"</code></td></tr>
354
353
<tr><tdstyle="text-align: left"><aid="cargo_bootstrap_repository-timeout"></a>timeout</td><tdstyle="text-align: left">Maximum duration of the Cargo build command in seconds</td><tdstyle="text-align: left">Integer</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>600</code></td></tr>
<tr><tdstyle="text-align: left"><aid="crates_repository-quiet"></a>quiet</td><tdstyle="text-align: left">If stdout and stderr should not be printed to the terminal.</td><tdstyle="text-align: left">Boolean</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>True</code></td></tr>
759
759
<tr><tdstyle="text-align: left"><aid="crates_repository-render_config"></a>render_config</td><tdstyle="text-align: left">The configuration flags to use for rendering. Use <code>//crate_universe:defs.bzl\%render_config</code> to generate the value for this field. If unset, the defaults defined there will be used.</td><tdstyle="text-align: left">String</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>""</code></td></tr>
760
760
<tr><tdstyle="text-align: left"><aid="crates_repository-repin_instructions"></a>repin_instructions</td><tdstyle="text-align: left">Instructions to re-pin the repository if required. Many people have wrapper scripts for keeping dependencies up to date, and would like to point users to that instead of the default.</td><tdstyle="text-align: left">String</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>""</code></td></tr>
761
-
<tr><tdstyle="text-align: left"><aid="crates_repository-repo_mapping"></a>repo_mapping</td><tdstyle="text-align: left">In <code>WORKSPACE</code> context only: a dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<br><br>For example, an entry <code>"@foo": "@bar"</code> declares that, for any time this repository depends on <code>@foo</code> (such as a dependency on <code>@foo//some:target</code>, it should actually resolve that dependency within globally-declared <code>@bar</code> (<code>@bar//some:target</code>).<br><br>This attribute is <em>not</em> supported in <code>MODULE.bazel</code> context (when invoking a repository rule inside a module extension's implementation function).</td><tdstyle="text-align: left"><ahref="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a></td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"></td></tr>
762
761
<tr><tdstyle="text-align: left"><aid="crates_repository-rust_toolchain_cargo_template"></a>rust_toolchain_cargo_template</td><tdstyle="text-align: left">The template to use for finding the host <code>cargo</code> binary. <code>{version}</code> (eg. '1.53.0'), <code>{triple}</code> (eg. 'x86_64-unknown-linux-gnu'), <code>{arch}</code> (eg. 'aarch64'), <code>{vendor}</code> (eg. 'unknown'), <code>{system}</code> (eg. 'darwin'), <code>{cfg}</code> (eg. 'exec'), <code>{channel}</code> (eg. 'stable'), and <code>{tool}</code> (eg. 'rustc.exe') will be replaced in the string if present.</td><tdstyle="text-align: left">String</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>"@rust_{system}_{arch}__{triple}__{channel}_tools//:bin/{tool}"</code></td></tr>
763
762
<tr><tdstyle="text-align: left"><aid="crates_repository-rust_toolchain_rustc_template"></a>rust_toolchain_rustc_template</td><tdstyle="text-align: left">The template to use for finding the host <code>rustc</code> binary. <code>{version}</code> (eg. '1.53.0'), <code>{triple}</code> (eg. 'x86_64-unknown-linux-gnu'), <code>{arch}</code> (eg. 'aarch64'), <code>{vendor}</code> (eg. 'unknown'), <code>{system}</code> (eg. 'darwin'), <code>{cfg}</code> (eg. 'exec'), <code>{channel}</code> (eg. 'stable'), and <code>{tool}</code> (eg. 'cargo.exe') will be replaced in the string if present.</td><tdstyle="text-align: left">String</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>"@rust_{system}_{arch}__{triple}__{channel}_tools//:bin/{tool}"</code></td></tr>
764
763
<tr><tdstyle="text-align: left"><aid="crates_repository-rust_version"></a>rust_version</td><tdstyle="text-align: left">The version of Rust the currently registered toolchain is using. Eg. <code>1.56.0</code>, or <code>nightly/2021-09-08</code></td><tdstyle="text-align: left">String</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>"1.86.0"</code></td></tr>
0 commit comments