Website Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit8ce46210fd8936e4a20b94374dd9eb0c8892deb5 (patch)
Author
 Kamen Mladenov <kamen@syndamia.com>
2025-04-14 12:58:29 +0300
Committer
 Kamen Mladenov <kamen@syndamia.com>
2025-04-14 13:40:57 +0300
Files80e20b8d5aa9fc53830be6661c5c11cf60ebc77b
zkVMs-benchmarks-8ce46210fd8936e4a20b94374dd9eb0c8892deb5.tar
zkVMs-benchmarks-8ce46210fd8936e4a20b94374dd9eb0c8892deb5.tar.gz
zkVMs-benchmarks-8ce46210fd8936e4a20b94374dd9eb0c8892deb5.zip
Parent230defc3f58161234f8752e98ecf11725c85860d (diff)
fix(zkvmLib): Add zkVM feature on cargo add
`cargo add` modifies the Cargo.lock, and optional dependencies will be removed if the feature is not passed through
1 files changed, 1 insertions, 1 deletions
-rw-r--r--zkvmLib.nix2
diff --git a/zkvmLib.nix b/zkvmLib.nix
index 553d4e7..29d1464 100644
--- a/zkvmLib.nix
+++ b/zkvmLib.nix
@@ -167,7 +167,7 @@ in {
pushd zkvms/${args.pname}/guest
cp '${cargoLocks.cargoLockDrv}/Cargo.lock' Cargo.lock
- cargo add --path "../../../guests/${guest}" --rename zkp --offline
+ cargo add --path "../../../guests/${guest}" --rename zkp --offline --features '${args.pname}'
echo '${appended}' >> Cargo.toml
popd