Lines Matching +full:- +full:a
1 <!-- Generated with Stardoc: http://skydoc.bazel.build -->
15 <a id="rust_stdlib_filegroup"></a>
20 rust_stdlib_filegroup(<a href="#rust_stdlib_filegroup-name">name</a>, <a href="#rust_stdlib_filegro…
23 A dedicated filegroup-like rule for Rust stdlib artifacts.
29 | :------------- | :------------- | :------------- | :------------- | :------------- |
30 | <a id="rust_stdlib_filegroup-name"></a>name | A unique name for this target. | <a href="https:…
31 …a id="rust_stdlib_filegroup-srcs"></a>srcs | The list of targets/files that are components of the…
34 <a id="rust_toolchain"></a>
39 …a href="#rust_toolchain-name">name</a>, <a href="#rust_toolchain-allocator_library">allocator_libr…
40 …a href="#rust_toolchain-default_edition">default_edition</a>, <a href="#rust_toolchain-dylib_ext">…
41 …a href="#rust_toolchain-experimental_use_cc_common_link">experimental_use_cc_common_link</a>, <a h…
42 …a href="#rust_toolchain-extra_rustc_flags_for_crate_types">extra_rustc_flags_for_crate_types</a>, …
43 …a href="#rust_toolchain-llvm_tools">llvm_tools</a>, <a href="#rust_toolchain-opt_level">opt_level<…
44 …a href="#rust_toolchain-rustfmt">rustfmt</a>, <a href="#rust_toolchain-staticlib_ext">staticlib_ex…
47 Declares a Rust toolchain for use.
49 This is for declaring a custom toolchain, eg. for configuring a particular version of rust or suppo…
53 …ust team has ported the compiler to a new target CPU, called `cpuX`. This support can be used in B…
62 exec_triple = "cpuX-unknown-linux-gnu",
67 staticlib_ext = ".a",
68 stdlib_linkflags = ["-lpthread", "-ldl"],
69 target_triple = "cpuX-unknown-linux-gnu",
86 …lchain rule to `register_toolchains` in the WORKSPACE, or pass it to the `"--extra_toolchains"` fl…
94 | :------------- | :------------- | :------------- | :------------- | :------------- |
95 | <a id="rust_toolchain-name"></a>name | A unique name for this target. | <a href="https://bazel…
96 …a id="rust_toolchain-allocator_library"></a>allocator_library | Target that provides allocator fu…
97 | <a id="rust_toolchain-binary_ext"></a>binary_ext | The extension for binaries created from rustc…
98 …a id="rust_toolchain-cargo"></a>cargo | The location of the `cargo` binary. Can be a direct sourc…
99 …a id="rust_toolchain-cargo_clippy"></a>cargo_clippy | The location of the `cargo_clippy` binary. …
100 …a id="rust_toolchain-clippy_driver"></a>clippy_driver | The location of the `clippy-driver` binar…
101 …a id="rust_toolchain-debug_info"></a>debug_info | Rustc debug info levels per opt level | <a hr…
102 | <a id="rust_toolchain-default_edition"></a>default_edition | The edition to use for rust_* rules…
103 | <a id="rust_toolchain-dylib_ext"></a>dylib_ext | The extension for dynamic libraries created fro…
104 …a id="rust_toolchain-env"></a>env | Environment variables to set in actions. | <a href="https:/…
105 | <a id="rust_toolchain-exec_triple"></a>exec_triple | The platform triple for the toolchains exec…
106 …a id="rust_toolchain-experimental_link_std_dylib"></a>experimental_link_std_dylib | Label to a bo…
107 …a id="rust_toolchain-experimental_use_cc_common_link"></a>experimental_use_cc_common_link | Label…
108 | <a id="rust_toolchain-extra_exec_rustc_flags"></a>extra_exec_rustc_flags | Extra flags to pass t…
109 | <a id="rust_toolchain-extra_rustc_flags"></a>extra_rustc_flags | Extra flags to pass to rustc in…
110 …a id="rust_toolchain-extra_rustc_flags_for_crate_types"></a>extra_rustc_flags_for_crate_types | E…
111 …a id="rust_toolchain-global_allocator_library"></a>global_allocator_library | Target that provide…
112 …a id="rust_toolchain-llvm_cov"></a>llvm_cov | The location of the `llvm-cov` binary. Can be a dir…
113 …a id="rust_toolchain-llvm_profdata"></a>llvm_profdata | The location of the `llvm-profdata` binar…
114 …a id="rust_toolchain-llvm_tools"></a>llvm_tools | LLVM tools that are shipped with the Rust toolc…
115 …a id="rust_toolchain-opt_level"></a>opt_level | Rustc optimization levels. | <a href="https://b…
116 | <a id="rust_toolchain-per_crate_rustc_flags"></a>per_crate_rustc_flags | Extra flags to pass to …
117 …a id="rust_toolchain-rust_doc"></a>rust_doc | The location of the `rustdoc` binary. Can be a dire…
118 | <a id="rust_toolchain-rust_std"></a>rust_std | The Rust standard library. | <a href="https://b…
119 …a id="rust_toolchain-rustc"></a>rustc | The location of the `rustc` binary. Can be a direct sourc…
120 …a id="rust_toolchain-rustc_lib"></a>rustc_lib | The libraries used by rustc during compilation. …
121 …a id="rust_toolchain-rustfmt"></a>rustfmt | **Deprecated**: Instead see [rustfmt_toolchain](#rust…
122 | <a id="rust_toolchain-staticlib_ext"></a>staticlib_ext | The extension for static libraries crea…
123 | <a id="rust_toolchain-stdlib_linkflags"></a>stdlib_linkflags | Additional linker flags to use wh…
124 …a id="rust_toolchain-strip_level"></a>strip_level | Rustc strip levels. For all potential options…
125 …a id="rust_toolchain-target_json"></a>target_json | Override the target_triple with a custom targ…
126 | <a id="rust_toolchain-target_triple"></a>target_triple | The platform triple for the toolchains …
129 <a id="rules_rust_dependencies"></a>
141 <a id="rust_analyzer_toolchain_repository"></a>
146 …a href="#rust_analyzer_toolchain_repository-name">name</a>, <a href="#rust_analyzer_toolchain_repo…
147 …a href="#rust_analyzer_toolchain_repository-iso_date">iso_date</a>, <a href="#rust_analyzer_toolch…
150 Assemble a remote rust_analyzer_toolchain target based on the given params.
156 | :------------- | :------------- | :------------- |
157 | <a id="rust_analyzer_toolchain_repository-name"></a>name | The name of the toolchain proxy repos…
158 | <a id="rust_analyzer_toolchain_repository-version"></a>version | The version of the tool among "…
159 | <a id="rust_analyzer_toolchain_repository-exec_compatible_with"></a>exec_compatible_with | A lis…
160 | <a id="rust_analyzer_toolchain_repository-target_compatible_with"></a>target_compatible_with | A…
161 | <a id="rust_analyzer_toolchain_repository-iso_date"></a>iso_date | The date of the tool. | `N…
162 | <a id="rust_analyzer_toolchain_repository-sha256s"></a>sha256s | A dict associating tool subdire…
163 …a id="rust_analyzer_toolchain_repository-urls"></a>urls | A list of mirror urls containing the to…
164 | <a id="rust_analyzer_toolchain_repository-auth"></a>auth | Auth object compatible with repositor…
165 | <a id="rust_analyzer_toolchain_repository-netrc"></a>netrc | .netrc file to use for authenticati…
166 | <a id="rust_analyzer_toolchain_repository-auth_patterns"></a>auth_patterns | Override mapping of…
170 str: The name of a registerable rust_analyzer_toolchain.
173 <a id="rust_register_toolchains"></a>
178 …a href="#rust_register_toolchains-dev_components">dev_components</a>, <a href="#rust_register_tool…
179 …a href="#rust_register_toolchains-iso_date">iso_date</a>, <a href="#rust_register_toolchains-regis…
180 …a href="#rust_register_toolchains-sha256s">sha256s</a>, <a href="#rust_register_toolchains-extra_t…
181 …a href="#rust_register_toolchains-urls">urls</a>, <a href="#rust_register_toolchains-version">vers…
184 Emits a default set of toolchains for Linux, MacOS, and Freebsd
186 Skip this macro and call the `rust_repository_set` macros directly if you need a compiler for o…
188 The `sha256s` attribute represents a dict associating tool subdirectories to sha256 hashes. As an e…
191 …"rust-1.46.0-x86_64-unknown-linux-gnu": "e3b98bc3440fe92817881933f9564389eccb396f5f431f33d48b979fa…
192 …"rustfmt-1.4.12-x86_64-unknown-linux-gnu": "1894e76913303d66bf40885a601462844eec15fca9e76a6d13c390…
193 …"rust-std-1.46.0-x86_64-unknown-linux-gnu": "ac04aef80423f612c0079829b504902de27a6997214eb58ab0765…
196 …his would match for `exec_triple = "x86_64-unknown-linux-gnu"`. If not specified, rules_rust pull…
205 | :------------- | :------------- | :------------- |
206 | <a id="rust_register_toolchains-dev_components"></a>dev_components | Whether to download the rus…
207 | <a id="rust_register_toolchains-edition"></a>edition | The rust edition to be used by default (2…
208 …a id="rust_register_toolchains-allocator_library"></a>allocator_library | Target that provides al…
209 | <a id="rust_register_toolchains-global_allocator_library"></a>global_allocator_library | Target …
210 | <a id="rust_register_toolchains-iso_date"></a>iso_date | **Deprecated**: Use `versions` instead.…
211 | <a id="rust_register_toolchains-register_toolchains"></a>register_toolchains | If true, reposito…
212 | <a id="rust_register_toolchains-rustfmt_version"></a>rustfmt_version | The version of rustfmt. I…
213 | <a id="rust_register_toolchains-rust_analyzer_version"></a>rust_analyzer_version | The version o…
214 | <a id="rust_register_toolchains-sha256s"></a>sha256s | A dict associating tool subdirectories to…
215 …a id="rust_register_toolchains-extra_target_triples"></a>extra_target_triples | Additional rust-s…
216 …<a id="rust_register_toolchains-extra_rustc_flags"></a>extra_rustc_flags | Dictionary of target t…
217 | <a id="rust_register_toolchains-extra_exec_rustc_flags"></a>extra_exec_rustc_flags | Extra flags…
218 …a id="rust_register_toolchains-urls"></a>urls | A list of mirror urls containing the tools from t…
219 | <a id="rust_register_toolchains-version"></a>version | **Deprecated**: Use `versions` instead. …
220 …a id="rust_register_toolchains-versions"></a>versions | A list of toolchain versions to download.…
223 <a id="rust_repositories"></a>
228 rust_repositories(<a href="#rust_repositories-kwargs">kwargs</a>)
237 | :------------- | :------------- | :------------- |
238 | <a id="rust_repositories-kwargs"></a>kwargs | Keyword arguments for the `rust_register_toolchain…
241 <a id="rust_repository_set"></a>
246 …a href="#rust_repository_set-name">name</a>, <a href="#rust_repository_set-exec_triple">exec_tripl…
247 …a href="#rust_repository_set-global_allocator_library">global_allocator_library</a>, <a href="#rus…
248 …a href="#rust_repository_set-edition">edition</a>, <a href="#rust_repository_set-dev_components">d…
249 …a href="#rust_repository_set-sha256s">sha256s</a>, <a href="#rust_repository_set-urls">urls</a>, <…
250 …a href="#rust_repository_set-exec_compatible_with">exec_compatible_with</a>, <a href="#rust_reposi…
253 Assembles a remote repository for the given toolchain params, produces a proxy repository to co…
259 | :------------- | :------------- | :------------- |
260 | <a id="rust_repository_set-name"></a>name | The name of the generated repository | none |
261 | <a id="rust_repository_set-exec_triple"></a>exec_triple | The Rust-style target that this compil…
262 | <a id="rust_repository_set-target_settings"></a>target_settings | A list of config_settings that…
263 | <a id="rust_repository_set-version"></a>version | The version of the tool among "nightly", "beta…
264 …a id="rust_repository_set-versions"></a>versions | A list of toolchain versions to download. This…
265 …a id="rust_repository_set-allocator_library"></a>allocator_library | Target that provides allocat…
266 | <a id="rust_repository_set-global_allocator_library"></a>global_allocator_library | Target that …
267 …a id="rust_repository_set-extra_target_triples"></a>extra_target_triples | Additional rust-style …
268 | <a id="rust_repository_set-iso_date"></a>iso_date | The date of the tool. | `None` |
269 | <a id="rust_repository_set-rustfmt_version"></a>rustfmt_version | The version of rustfmt to be a…
270 | <a id="rust_repository_set-edition"></a>edition | The rust edition to be used by default (2015, …
271 | <a id="rust_repository_set-dev_components"></a>dev_components | Whether to download the rustc-de…
272 | <a id="rust_repository_set-extra_rustc_flags"></a>extra_rustc_flags | Dictionary of target tripl…
273 | <a id="rust_repository_set-extra_exec_rustc_flags"></a>extra_exec_rustc_flags | Extra flags to p…
274 | <a id="rust_repository_set-opt_level"></a>opt_level | Dictionary of target triples to optimiztio…
275 | <a id="rust_repository_set-sha256s"></a>sha256s | A dict associating tool subdirectories to sha2…
276 …a id="rust_repository_set-urls"></a>urls | A list of mirror urls containing the tools from the Ru…
277 | <a id="rust_repository_set-auth"></a>auth | Auth object compatible with repository_ctx.download …
278 | <a id="rust_repository_set-netrc"></a>netrc | .netrc file to use for authentication; mirrors the…
279 | <a id="rust_repository_set-auth_patterns"></a>auth_patterns | Override mapping of hostnames to a…
280 | <a id="rust_repository_set-register_toolchain"></a>register_toolchain | If True, the generated `…
281 | <a id="rust_repository_set-exec_compatible_with"></a>exec_compatible_with | A list of constraint…
282 | <a id="rust_repository_set-default_target_compatible_with"></a>default_target_compatible_with | …
285 <a id="rust_toolchain_repository"></a>
290 …a href="#rust_toolchain_repository-name">name</a>, <a href="#rust_toolchain_repository-version">ve…
291 …a href="#rust_toolchain_repository-target_compatible_with">target_compatible_with</a>, <a href="#r…
292 …a href="#rust_toolchain_repository-global_allocator_library">global_allocator_library</a>, <a href…
293 …a href="#rust_toolchain_repository-dev_components">dev_components</a>, <a href="#rust_toolchain_re…
294 …a href="#rust_toolchain_repository-sha256s">sha256s</a>, <a href="#rust_toolchain_repository-urls"…
297 Assembles a remote repository for the given toolchain params, produces a proxy repository to co…
303 | :------------- | :------------- | :------------- |
304 | <a id="rust_toolchain_repository-name"></a>name | The name of the generated repository | none…
305 | <a id="rust_toolchain_repository-version"></a>version | The version of the tool among "nightly",…
306 | <a id="rust_toolchain_repository-exec_triple"></a>exec_triple | The Rust-style target that this …
307 | <a id="rust_toolchain_repository-target_triple"></a>target_triple | The Rust-style target to bui…
308 | <a id="rust_toolchain_repository-exec_compatible_with"></a>exec_compatible_with | A list of cons…
309 | <a id="rust_toolchain_repository-target_compatible_with"></a>target_compatible_with | A list of …
310 | <a id="rust_toolchain_repository-target_settings"></a>target_settings | A list of config_setting…
311 | <a id="rust_toolchain_repository-channel"></a>channel | The channel of the Rust toolchain. | …
312 …a id="rust_toolchain_repository-allocator_library"></a>allocator_library | Target that provides a…
313 | <a id="rust_toolchain_repository-global_allocator_library"></a>global_allocator_library | Target…
314 | <a id="rust_toolchain_repository-iso_date"></a>iso_date | The date of the tool. | `None` |
315 | <a id="rust_toolchain_repository-rustfmt_version"></a>rustfmt_version | The version of rustfmt t…
316 | <a id="rust_toolchain_repository-edition"></a>edition | The rust edition to be used by default (…
317 | <a id="rust_toolchain_repository-dev_components"></a>dev_components | Whether to download the ru…
318 | <a id="rust_toolchain_repository-extra_rustc_flags"></a>extra_rustc_flags | Extra flags to pass …
319 | <a id="rust_toolchain_repository-extra_exec_rustc_flags"></a>extra_exec_rustc_flags | Extra flag…
320 | <a id="rust_toolchain_repository-opt_level"></a>opt_level | Optimization level config for this t…
321 | <a id="rust_toolchain_repository-sha256s"></a>sha256s | A dict associating tool subdirectories t…
322 …a id="rust_toolchain_repository-urls"></a>urls | A list of mirror urls containing the tools from …
323 | <a id="rust_toolchain_repository-auth"></a>auth | Auth object compatible with repository_ctx.dow…
324 | <a id="rust_toolchain_repository-netrc"></a>netrc | .netrc file to use for authentication; mirro…
325 | <a id="rust_toolchain_repository-auth_patterns"></a>auth_patterns | A list of patterns to match …
332 <a id="rust_toolchain_repository_proxy"></a>
337 …a href="#rust_toolchain_repository_proxy-name">name</a>, <a href="#rust_toolchain_repository_proxy…
338 …a href="#rust_toolchain_repository_proxy-target_settings">target_settings</a>, <a href="#rust_tool…
341 Generates a toolchain-bearing repository that declares the toolchains from some other rust_toolchai…
347 | :------------- | :------------- | :------------- | :------------- | :------------- |
348 …a id="rust_toolchain_repository_proxy-name"></a>name | A unique name for this repository. | <a …
349 | <a id="rust_toolchain_repository_proxy-exec_compatible_with"></a>exec_compatible_with | A list o…
350 …a id="rust_toolchain_repository_proxy-repo_mapping"></a>repo_mapping | In `WORKSPACE` context onl…
351 | <a id="rust_toolchain_repository_proxy-target_compatible_with"></a>target_compatible_with | A li…
352 | <a id="rust_toolchain_repository_proxy-target_settings"></a>target_settings | A list of config_s…
353 | <a id="rust_toolchain_repository_proxy-toolchain"></a>toolchain | The name of the toolchain impl…
354 | <a id="rust_toolchain_repository_proxy-toolchain_type"></a>toolchain_type | The toolchain type o…
357 <a id="rust_toolchain_tools_repository"></a>
362 …a href="#rust_toolchain_tools_repository-name">name</a>, <a href="#rust_toolchain_tools_repository…
363 …a href="#rust_toolchain_tools_repository-edition">edition</a>, <a href="#rust_toolchain_tools_repo…
364 …a href="#rust_toolchain_tools_repository-global_allocator_library">global_allocator_library</a>, <…
365 …a href="#rust_toolchain_tools_repository-rustfmt_version">rustfmt_version</a>, <a href="#rust_tool…
368 Composes a single workspace containing the toolchain components for compiling on a given platform t…
370 A given instance of this rule should be accompanied by a toolchain_repository_proxy invocation to d…
376 | :------------- | :------------- | :------------- | :------------- | :------------- |
377 …a id="rust_toolchain_tools_repository-name"></a>name | A unique name for this repository. | <a …
378 …a id="rust_toolchain_tools_repository-allocator_library"></a>allocator_library | Target that prov…
379 …a id="rust_toolchain_tools_repository-auth"></a>auth | Auth object compatible with repository_ctx…
380 | <a id="rust_toolchain_tools_repository-auth_patterns"></a>auth_patterns | A list of patterns to …
381 | <a id="rust_toolchain_tools_repository-dev_components"></a>dev_components | Whether to download …
382 | <a id="rust_toolchain_tools_repository-edition"></a>edition | The rust edition to be used by def…
383 | <a id="rust_toolchain_tools_repository-exec_triple"></a>exec_triple | The Rust-style target that…
384 | <a id="rust_toolchain_tools_repository-extra_exec_rustc_flags"></a>extra_exec_rustc_flags | Extr…
385 | <a id="rust_toolchain_tools_repository-extra_rustc_flags"></a>extra_rustc_flags | Extra flags to…
386 | <a id="rust_toolchain_tools_repository-global_allocator_library"></a>global_allocator_library | …
387 | <a id="rust_toolchain_tools_repository-iso_date"></a>iso_date | The date of the tool (or None, i…
388 | <a id="rust_toolchain_tools_repository-netrc"></a>netrc | .netrc file to use for authentication;…
389 …a id="rust_toolchain_tools_repository-opt_level"></a>opt_level | Rustc optimization levels. For m…
390 …a id="rust_toolchain_tools_repository-repo_mapping"></a>repo_mapping | In `WORKSPACE` context onl…
391 | <a id="rust_toolchain_tools_repository-rustfmt_version"></a>rustfmt_version | The version of the…
392 …a id="rust_toolchain_tools_repository-sha256s"></a>sha256s | A dict associating tool subdirectori…
393 | <a id="rust_toolchain_tools_repository-target_triple"></a>target_triple | The Rust-style target …
394 …a id="rust_toolchain_tools_repository-urls"></a>urls | A list of mirror urls containing the tools…
395 | <a id="rust_toolchain_tools_repository-version"></a>version | The version of the tool among "nig…