MCPcopy Create free account
hub / github.com/Rust-GPU/rust-cuda / build_args

Method build_args

crates/cuda_builder/src/lib.rs:168–172  ·  view source on GitHub ↗

Additional arguments passed to cargo during `cargo build`.

(mut self, args: &[impl AsRef<str>])

Source from the content-addressed store, hash-verified

166
167 /// Additional arguments passed to cargo during `cargo build`.
168 pub fn build_args(mut self, args: &[impl AsRef<str>]) -> Self {
169 self.build_args
170 .extend(args.iter().map(|s| s.as_ref().to_owned()));
171 self
172 }
173
174 /// Whether to generate any debug info and what level of info to generate.
175 pub fn debug(mut self, debug: DebugInfo) -> Self {

Callers 1

mainFunction · 0.80

Calls 2

iterMethod · 0.80
as_refMethod · 0.45

Tested by

no test coverage detected