From dbd9478d71ee52d8b8f7d1f576e911f06a846792 Mon Sep 17 00:00:00 2001 From: Herman Rimm Date: Sun, 26 Jan 2025 21:41:17 +0100 Subject: [PATCH] tests: crate: Add build dependency. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- tests/crate.scm | 8 ++++++++ 1 file changed, 8 insertions(+) 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 @@ -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