diff options
author | Winter <winter@winter.cafe> | 2023-02-25 14:40:40 -0500 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2023-02-26 09:09:35 +1000 |
commit | d5dc3d17f34094410c0abd9fe814c76463e0b8d2 (patch) | |
tree | da5cd11f6c15bcb118a0c6b38c2f9c010391811b /pkgs/development/compilers/rust | |
parent | 2572afa1f046fd770429b7c1473a53ec2b94aaf0 (diff) | |
download | nixlib-d5dc3d17f34094410c0abd9fe814c76463e0b8d2.tar nixlib-d5dc3d17f34094410c0abd9fe814c76463e0b8d2.tar.gz nixlib-d5dc3d17f34094410c0abd9fe814c76463e0b8d2.tar.bz2 nixlib-d5dc3d17f34094410c0abd9fe814c76463e0b8d2.tar.lz nixlib-d5dc3d17f34094410c0abd9fe814c76463e0b8d2.tar.xz nixlib-d5dc3d17f34094410c0abd9fe814c76463e0b8d2.tar.zst nixlib-d5dc3d17f34094410c0abd9fe814c76463e0b8d2.zip |
rustc: re-enable parallel building
We previously disabled this based on a now-closed issue from 2015 [0]. I think enough time has passed that we can give it a shot again, given that the in the worst case scenario we revert, and in the best case scenario we get a performance boost. [0]: https://github.com/rust-lang/rust/issues/30181
Diffstat (limited to 'pkgs/development/compilers/rust')
-rw-r--r-- | pkgs/development/compilers/rust/rustc.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix index 130cb8326115..722d963c4777 100644 --- a/pkgs/development/compilers/rust/rustc.nix +++ b/pkgs/development/compilers/rust/rustc.nix @@ -195,9 +195,7 @@ in stdenv.mkDerivation rec { configurePlatforms = []; - # https://github.com/NixOS/nixpkgs/pull/21742#issuecomment-272305764 - # https://github.com/rust-lang/rust/issues/30181 - # enableParallelBuilding = false; + enableParallelBuilding = true; setupHooks = ./setup-hook.sh; |