[−][src]Function cargo_valgrind::build_target
pub fn build_target<P: AsRef<Path>>(
manifest: P,
build: Build,
target: Target
) -> Result<(), Error>
Deprecated since 1.1.0:
Use the more flexible Cargo
type instead
Invoke cargo
and build the specified target.
The crate is specified by the path to the Cargo.toml
using the manifest
parameter. The kind of build (debug or release) is selected via the build
parameter. The binary to build is specified via the target
parameter.
Errors
This function returns an error, if the cargo command returned an error
.