diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-12-01 15:24:45 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-12-01 19:00:32 +0000 |
| commit | d7b02c307d0b40f076a172b1ebd6d2e5d6e4cb98 (patch) | |
| tree | 410522e5cf01d012dcbc660811162167c54c2fe6 | |
| parent | 82b2d8e41893629ff65505fc0d4767f1db73b180 (diff) | |
| download | rust-d7b02c307d0b40f076a172b1ebd6d2e5d6e4cb98.tar.gz rust-d7b02c307d0b40f076a172b1ebd6d2e5d6e4cb98.zip | |
Fix installing hyperfine
| -rw-r--r-- | build_system/prepare.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/build_system/prepare.rs b/build_system/prepare.rs index 0eaa8e820ba..28322c1cb51 100644 --- a/build_system/prepare.rs +++ b/build_system/prepare.rs @@ -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); |
