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>
This commit is contained in:
Herman Rimm 2025-01-26 21:41:17 +01:00 committed by Ludovic Courtès
parent 6b55b971c8
commit dbd9478d71
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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
@ -224,6 +225,11 @@
\"kind\": \"normal\",
\"req\": \"^3\"
},
{
\"crate_id\": \"leaf-bob\",
\"kind\": \"build\",
\"req\": \"3\"
},
{
\"crate_id\": \"intermediate-c\",
\"kind\": \"dev\",
@ -932,6 +938,8 @@
('unquote rust-intermediate-b-1))
("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