Skip to content

Commit 82c2c93

Browse files
committed
nix: build with parallelism feature
- explicitly disable features in the rust-ts wasm build - we don't have CUDA support there
1 parent 115f80d commit 82c2c93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nix/lib.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ let
5757
rustWorkspaceArgs = rustWorkspaceDeps // {
5858
inherit env src;
5959
strictDeps = true;
60-
cargoExtraArgs = "--features python-extension";
60+
cargoExtraArgs = "--features python-extension,parallelism";
6161
};
6262

6363
rustWorkspaceArgsWithPython = rustWorkspaceArgs // {
@@ -100,7 +100,7 @@ let
100100
craneLib.buildPackage (
101101
rustWorkspaceArgs
102102
// {
103-
inherit cargoArtifacts;
103+
cargoExtraArgs = ""; # *remove* features - we don't want the cuda stuff in here.
104104
pname = name;
105105
doCheck = false;
106106

0 commit comments

Comments
 (0)