Lines Matching refs:rust_binary

21 * [rust_binary](#rust_binary)
197 <a id="rust_binary"></a>
199 ## rust_binary section in Rust rules
202 rust_binary(<a href="#rust_binary-name">name</a>, <a href="#rust_binary-deps">deps</a>, <a href="#r…
203rust_binary-crate_root">crate_root</a>, <a href="#rust_binary-crate_type">crate_type</a>, <a href=…
204rust_binary-malloc">malloc</a>, <a href="#rust_binary-out_binary">out_binary</a>, <a href="#rust_b…
205 <a href="#rust_binary-stamp">stamp</a>, <a href="#rust_binary-version">version</a>)
270 load("@rules_rust//rust:defs.bzl", "rust_binary")
272 rust_binary(
300 | <a id="rust_binary-name"></a>name | A unique name for this target. | <a href="https://bazel.bu…
301 | <a id="rust_binary-deps"></a>deps | List of other libraries to be linked to this library target.…
302 | <a id="rust_binary-srcs"></a>srcs | List of Rust `.rs` source files used to build the library.<b…
303 | <a id="rust_binary-data"></a>data | List of files used by this rule at compile time and runtime.…
304 | <a id="rust_binary-aliases"></a>aliases | Remap crates to a new name or moniker for linkage to t…
305 | <a id="rust_binary-alwayslink"></a>alwayslink | If 1, any binary that depends (directly or indir…
306 | <a id="rust_binary-compile_data"></a>compile_data | List of files used by this rule at compile t…
307 | <a id="rust_binary-crate_features"></a>crate_features | List of features to enable for this crat…
308 | <a id="rust_binary-crate_name"></a>crate_name | Crate name to use for this target.<br><br>This m…
309rust_binary-crate_root"></a>crate_root | The file that will be passed to `rustc` to be used for b…
310 | <a id="rust_binary-crate_type"></a>crate_type | Crate type that will be passed to `rustc` to be …
311 | <a id="rust_binary-edition"></a>edition | The rust edition to use for this crate. Defaults to th…
312 | <a id="rust_binary-env"></a>env | Specifies additional environment variables to set when the tar…
313 | <a id="rust_binary-experimental_use_cc_common_link"></a>experimental_use_cc_common_link | Whethe…
314 | <a id="rust_binary-linker_script"></a>linker_script | Link script to forward into linker via rus…
315 | <a id="rust_binary-malloc"></a>malloc | Override the default dependency on `malloc`.<br><br>By d…
316 | <a id="rust_binary-out_binary"></a>out_binary | Force a target, regardless of it's `crate_type`,…
317 | <a id="rust_binary-platform"></a>platform | Optional platform to transition the binary to. | <…
318 | <a id="rust_binary-proc_macro_deps"></a>proc_macro_deps | List of `rust_proc_macro` targets used…
319rust_binary-rustc_env"></a>rustc_env | Dictionary of additional `"key": "value"` environment vari…
320 | <a id="rust_binary-rustc_env_files"></a>rustc_env_files | Files containing additional environmen…
321 | <a id="rust_binary-rustc_flags"></a>rustc_flags | List of compiler flags passed to `rustc`.<br><…
322rust_binary-stamp"></a>stamp | Whether to encode build information into the `Rustc` action. Possi…
323 | <a id="rust_binary-version"></a>version | A version to inject in the cargo environment variable.…
501 …ate HTML code documentation for the source files of `rust_library` or `rust_binary` targets. | <…
562 …ate HTML code documentation for the source files of `rust_library` or `rust_binary` targets. | <…
590 rust_binary(
696 …ot set, then this rule will look for a `lib.rs` file (or `main.rs` for rust_binary) or the single …
700 …": "value"` environment variables to set for rustc.<br><br>rust_test()/rust_binary() rules can use…
703 …s stamped, and a `rust_binary` depends on that library, the stamped library won't be rebuilt when …
783 …ot set, then this rule will look for a `lib.rs` file (or `main.rs` for rust_binary) or the single …
786 …": "value"` environment variables to set for rustc.<br><br>rust_test()/rust_binary() rules can use…
789 …s stamped, and a `rust_binary` depends on that library, the stamped library won't be rebuilt when …
847 rust_binary(
901 …ot set, then this rule will look for a `lib.rs` file (or `main.rs` for rust_binary) or the single …
907 …": "value"` environment variables to set for rustc.<br><br>rust_test()/rust_binary() rules can use…
910 …s stamped, and a `rust_binary` depends on that library, the stamped library won't be rebuilt when …
948 …ot set, then this rule will look for a `lib.rs` file (or `main.rs` for rust_binary) or the single …
952 …": "value"` environment variables to set for rustc.<br><br>rust_test()/rust_binary() rules can use…
955 …s stamped, and a `rust_binary` depends on that library, the stamped library won't be rebuilt when …
1123 …ot set, then this rule will look for a `lib.rs` file (or `main.rs` for rust_binary) or the single …
1130 …": "value"` environment variables to set for rustc.<br><br>rust_test()/rust_binary() rules can use…
1133 …s stamped, and a `rust_binary` depends on that library, the stamped library won't be rebuilt when …
1479 This rules take the same arguments as rust_binary.
1500 load("@rules_rust//rust:defs.bzl", "rust_binary", "rust_library")
1563 …lying `rust_binary` rule. An exception is the `compatible_with` attribute, which shouldn't be forw…
1979 load("//rust:defs.bzl", "rust_binary", "rust_library", "rust_test_suite")
1986 rust_binary(
2142 This aspect applies to existing rust_library, rust_test, and rust_binary rules.