Skip to content

Commit d7b02c3

Browse files
committed
Fix installing hyperfine
1 parent 82b2d8e commit d7b02c3

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

build_system/prepare.rs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ pub(crate) fn prepare(dirs: &Dirs) {
1818

1919
// FIXME maybe install this only locally?
2020
eprintln!("[INSTALL] hyperfine");
21-
Command::new("cargo").arg("install").arg("hyperfine").spawn().unwrap().wait().unwrap();
21+
Command::new("cargo")
22+
.arg("install")
23+
.arg("hyperfine")
24+
.env_remove("CARGO_TARGET_DIR")
25+
.spawn()
26+
.unwrap()
27+
.wait()
28+
.unwrap();
2229

2330
super::abi_cafe::ABI_CAFE_REPO.fetch(dirs);
2431
super::tests::RAND_REPO.fetch(dirs);

0 commit comments

Comments
 (0)