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><td style="text-align: left"><a id="rust.toolchain-extra_exec_rustc_flags"></a>extra_exec_rustc_flags</td><td style="text-align: left">Extra flags to pass to rustc in exec configuration</td><td style="text-align: left">List of strings</td><td style="text-align: left">optional</td><td style="text-align: left"><code>[]</code></td></tr>
2161
2161
<tr><td style="text-align: left"><a id="rust.toolchain-extra_rustc_flags"></a>extra_rustc_flags</td><td style="text-align: left">Extra flags to pass to rustc in non-exec configuration</td><td style="text-align: left">List of strings</td><td style="text-align: left">optional</td><td style="text-align: left"><code>[]</code></td></tr>
2162
2162
<tr><td style="text-align: left"><a id="rust.toolchain-extra_rustc_flags_triples"></a>extra_rustc_flags_triples</td><td style="text-align: left">Extra flags to pass to rustc in non-exec configuration. Key is the triple, value is the flag.</td><td style="text-align: left"><a href="https://bazel.build/rules/lib/dict">Dictionary: String -> List of strings</a></td><td style="text-align: left">optional</td><td style="text-align: left"><code>{}</code></td></tr>
<tr><td style="text-align: left"><a id="rust.toolchain-rust_analyzer_version"></a>rust_analyzer_version</td><td style="text-align: left">The version of Rustc to pair with rust-analyzer.</td><td style="text-align: left">String</td><td style="text-align: left">optional</td><td style="text-align: left"><code>""</code></td></tr>
2165
2165
<tr><td style="text-align: left"><a id="rust.toolchain-rustfmt_version"></a>rustfmt_version</td><td style="text-align: left">The version of the tool among "nightly", "beta", or an exact version.</td><td style="text-align: left">String</td><td style="text-align: left">optional</td><td style="text-align: left"><code>"nightly/2025-04-03"</code></td></tr>
2166
2166
<tr><td style="text-align: left"><a id="rust.toolchain-sha256s"></a>sha256s</td><td style="text-align: left">A dict associating tool subdirectories to sha256 hashes. See <a href="rust_bzlmod.html#rust_repositories">rust_repositories</a> for more details.</td><td style="text-align: left"><a href="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a></td><td style="text-align: left">optional</td><td style="text-align: left"><code>{}</code></td></tr>
<tr><td style="text-align: left"><a id="rust_register_toolchains-rustfmt_version"></a>rustfmt_version</td><td style="text-align: left">The version of rustfmt. If none is supplied and only a single version in <code>versions</code> is given, then this defaults to that version, otherwise will default to the default nightly version.</td><td style="text-align: left"><code>None</code></td></tr>
2273
2273
<tr><td style="text-align: left"><a id="rust_register_toolchains-rust_analyzer_version"></a>rust_analyzer_version</td><td style="text-align: left">The version of Rustc to pair with rust-analyzer.</td><td style="text-align: left"><code>None</code></td></tr>
<tr><td style="text-align: left"><a id="rust_register_toolchains-extra_rustc_flags"></a>extra_rustc_flags</td><td style="text-align: left">Dictionary of target triples to list of extra flags to pass to rustc in non-exec configuration.</td><td style="text-align: left"><code>None</code></td></tr>
2277
2277
<tr><td style="text-align: left"><a id="rust_register_toolchains-extra_exec_rustc_flags"></a>extra_exec_rustc_flags</td><td style="text-align: left">Extra flags to pass to rustc in exec configuration.</td><td style="text-align: left"><code>None</code></td></tr>
2278
2278
<tr><td style="text-align: left"><a id="rust_register_toolchains-strip_level"></a>strip_level</td><td style="text-align: left">Dictionary of target triples to strip config.</td><td style="text-align: left"><code>None</code></td></tr>
<tr><tdstyle="text-align: left"><aid="rust.toolchain-extra_exec_rustc_flags"></a>extra_exec_rustc_flags</td><tdstyle="text-align: left">Extra flags to pass to rustc in exec configuration</td><tdstyle="text-align: left">List of strings</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>[]</code></td></tr>
208
208
<tr><tdstyle="text-align: left"><aid="rust.toolchain-extra_rustc_flags"></a>extra_rustc_flags</td><tdstyle="text-align: left">Extra flags to pass to rustc in non-exec configuration</td><tdstyle="text-align: left">List of strings</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>[]</code></td></tr>
209
209
<tr><tdstyle="text-align: left"><aid="rust.toolchain-extra_rustc_flags_triples"></a>extra_rustc_flags_triples</td><tdstyle="text-align: left">Extra flags to pass to rustc in non-exec configuration. Key is the triple, value is the flag.</td><tdstyle="text-align: left"><ahref="https://bazel.build/rules/lib/dict">Dictionary: String -> List of strings</a></td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>{}</code></td></tr>
210
-
<tr><tdstyle="text-align: left"><aid="rust.toolchain-extra_target_triples"></a>extra_target_triples</td><tdstyle="text-align: left">-</td><tdstyle="text-align: left">List of strings</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>["wasm32-unknown-unknown", "wasm32-wasip1", "wasm32-wasip2"]</code></td></tr>
<tr><tdstyle="text-align: left"><aid="rust.toolchain-rust_analyzer_version"></a>rust_analyzer_version</td><tdstyle="text-align: left">The version of Rustc to pair with rust-analyzer.</td><tdstyle="text-align: left">String</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>""</code></td></tr>
212
212
<tr><tdstyle="text-align: left"><aid="rust.toolchain-rustfmt_version"></a>rustfmt_version</td><tdstyle="text-align: left">The version of the tool among "nightly", "beta", or an exact version.</td><tdstyle="text-align: left">String</td><tdstyle="text-align: left">optional</td><tdstyle="text-align: left"><code>"nightly/2025-04-03"</code></td></tr>
213
213
<tr><tdstyle="text-align: left"><aid="rust.toolchain-sha256s"></a>sha256s</td><tdstyle="text-align: left">A dict associating tool subdirectories to sha256 hashes. See <ahref="#rust_repositories">rust_repositories</a> for more details.</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>
<tr><tdstyle="text-align: left"><aid="rust_register_toolchains-rustfmt_version"></a>rustfmt_version</td><tdstyle="text-align: left">The version of rustfmt. If none is supplied and only a single version in <code>versions</code> is given, then this defaults to that version, otherwise will default to the default nightly version.</td><tdstyle="text-align: left"><code>None</code></td></tr>
237
237
<tr><tdstyle="text-align: left"><aid="rust_register_toolchains-rust_analyzer_version"></a>rust_analyzer_version</td><tdstyle="text-align: left">The version of Rustc to pair with rust-analyzer.</td><tdstyle="text-align: left"><code>None</code></td></tr>
<tr><tdstyle="text-align: left"><aid="rust_register_toolchains-extra_target_triples"></a>extra_target_triples</td><tdstyle="text-align: left">Additional rust-style targets that rust toolchains should support.</td><tdstyle="text-align: left"><code>["wasm32-unknown-unknown", "wasm32-wasip1", "wasm32-wasip2"]</code></td></tr>
239
+
<tr><tdstyle="text-align: left"><aid="rust_register_toolchains-extra_target_triples"></a>extra_target_triples</td><tdstyle="text-align: left">Additional rust-style targets that rust toolchains should support.</td><tdstyle="text-align: left"><code>["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", "wasm32-wasip1", "wasm32-wasip2"]</code></td></tr>
240
240
<tr><tdstyle="text-align: left"><aid="rust_register_toolchains-extra_rustc_flags"></a>extra_rustc_flags</td><tdstyle="text-align: left">Dictionary of target triples to list of extra flags to pass to rustc in non-exec configuration.</td><tdstyle="text-align: left"><code>None</code></td></tr>
241
241
<tr><tdstyle="text-align: left"><aid="rust_register_toolchains-extra_exec_rustc_flags"></a>extra_exec_rustc_flags</td><tdstyle="text-align: left">Extra flags to pass to rustc in exec configuration.</td><tdstyle="text-align: left"><code>None</code></td></tr>
242
242
<tr><tdstyle="text-align: left"><aid="rust_register_toolchains-strip_level"></a>strip_level</td><tdstyle="text-align: left">Dictionary of target triples to strip config.</td><tdstyle="text-align: left"><code>None</code></td></tr>
0 commit comments