Fix installing hyperfine

This commit is contained in:
bjorn3 2022-12-01 15:24:45 +00:00
parent 82b2d8e418
commit d7b02c307d

View File

@ -18,7 +18,14 @@ pub(crate) fn prepare(dirs: &Dirs) {
// FIXME maybe install this only locally?
eprintln!("[INSTALL] hyperfine");
Command::new("cargo").arg("install").arg("hyperfine").spawn().unwrap().wait().unwrap();
Command::new("cargo")
.arg("install")
.arg("hyperfine")
.env_remove("CARGO_TARGET_DIR")
.spawn()
.unwrap()
.wait()
.unwrap();
super::abi_cafe::ABI_CAFE_REPO.fetch(dirs);
super::tests::RAND_REPO.fetch(dirs);