Merge #82342: rustPlatform: increase build-speed of checkPhase

...for rust-packages (into staging)
This commit is contained in:
Vladimír Čunát
2020-06-05 09:12:30 +02:00
13 changed files with 174 additions and 38 deletions

View File

@@ -15,9 +15,7 @@ rustPlatform.buildRustPackage {
inherit rev sha256;
};
preBuild = "pushd crates/rust-analyzer";
# Do not checking other crates in checkPhase.
preInstall = "popd";
buildAndTestSubdir = "crates/rust-analyzer";
cargoBuildFlags = lib.optional useJemalloc "--features=jemalloc";