diff options
author | Herman Rimm <herman@rimm.ee> | 2025-01-26 21:41:17 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2025-02-09 18:20:41 +0100 |
commit | dbd9478d71ee52d8b8f7d1f576e911f06a846792 (patch) | |
tree | 9c664aa8f4886c14555ab6e0c4b247dc19f055f4 /tests | |
parent | 6b55b971c882d2cdde3a52778bdba8b861d6dcb3 (diff) |
tests: crate: Add build dependency.
* tests/crate.scm ("crate-recursive-import"): Add rust-leaf-bob-3 to
rust-root-1 cargo-inputs.
(test-root-dependencies): Add leaf-bob 3 build dependency.
Change-Id: I1285fc6b36429f754d54def0b14f821306ba366d
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/crate.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/crate.scm b/tests/crate.scm index 2f1c37633c..d0dc779cd2 100644 --- a/tests/crate.scm +++ b/tests/crate.scm @@ -53,6 +53,7 @@ ;; intermediate-b ^1.0.0 ;; leaf-alice ^0.7 ;; leaf-bob ^3 +;; leaf-bob 3 (build-dependency) ;; intermediate-c 1 (dev-dependency) ;; ;; intermediate-a-1.0.40 @@ -225,6 +226,11 @@ \"req\": \"^3\" }, { + \"crate_id\": \"leaf-bob\", + \"kind\": \"build\", + \"req\": \"3\" + }, + { \"crate_id\": \"intermediate-c\", \"kind\": \"dev\", \"req\": \"1\" @@ -933,6 +939,8 @@ ("rust-leaf-alice" ('unquote 'rust-leaf-alice-0.7)) ("rust-leaf-bob" + ('unquote rust-leaf-bob-3)) + ("rust-leaf-bob" ('unquote rust-leaf-bob-3))) #:cargo-development-inputs (("rust-intermediate-c" |