fix(tvix/utils): Optionally add support for Cargo in filterRustCrateSrc

Previously we would unconditionally add Cargo.toml to the fileset. We
mostly use buildRustCrate in tvix so it does not make sense to add it by
default, instead I made it so you enable cargoSupport if you want
Cargo.{toml,lock} to be added to the fileset.

Change-Id: I5a6016534fc5599e85ab581fe3d9b81e7a24f940
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11950
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Autosubmit: Ilan Joselevich <personal@ilanjoselevich.com>
This commit is contained in:
Ilan Joselevich 2024-07-04 21:43:12 +03:00 committed by clbot
parent fc63594631
commit 63654fbeb1
2 changed files with 7 additions and 5 deletions

View file

@ -46,7 +46,7 @@ let
[dependencies.tvix-eval]
-path = "../../tvix/eval"
+path = "${depot.tvix.crates.workspaceMembers.tvix-eval.build.src}"
+path = "${../../tvix/eval}"
default-features = false
[dependencies.serde]