MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / clean_deps

Function clean_deps

tests/src/main.rs:251–261  ·  view source on GitHub ↗
(deps_target_dir: &Path)

Source from the content-addressed store, hash-verified

249}
250
251fn clean_deps(deps_target_dir: &Path) {
252 std::process::Command::new("cargo")
253 .arg("clean")
254 .arg("--target-dir")
255 .arg(deps_target_dir)
256 .stderr(std::process::Stdio::inherit())
257 .stdout(std::process::Stdio::inherit())
258 .status()
259 .and_then(map_status_to_result)
260 .unwrap();
261}
262
263/// Attempt find the rlib that matches `base`, if multiple rlibs are found
264/// then a clean build is required and `None` is returned.

Callers 1

build_depsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected