From e8c1811f83a71deecdc44788645855b2b08b9057 Mon Sep 17 00:00:00 2001 From: Dale Wijnand Date: Sun, 18 Nov 2018 18:39:08 +0000 Subject: [PATCH] Fix metabuild::metabuild_build_plan --- tests/testsuite/metabuild.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/testsuite/metabuild.rs b/tests/testsuite/metabuild.rs index c96f0c4b6b6..7837042b1d1 100644 --- a/tests/testsuite/metabuild.rs +++ b/tests/testsuite/metabuild.rs @@ -433,6 +433,7 @@ fn metabuild_build_plan() { "package_name": "mb", "package_version": "0.5.0", "target_kind": ["lib"], + "compile_mode": "build", "kind": "Host", "deps": [], "outputs": ["[..]/target/debug/deps/libmb-[..].rlib"], @@ -446,6 +447,7 @@ fn metabuild_build_plan() { "package_name": "mb-other", "package_version": "0.0.1", "target_kind": ["lib"], + "compile_mode": "build", "kind": "Host", "deps": [], "outputs": ["[..]/target/debug/deps/libmb_other-[..].rlib"], @@ -459,6 +461,7 @@ fn metabuild_build_plan() { "package_name": "foo", "package_version": "0.0.1", "target_kind": ["custom-build"], + "compile_mode": "build", "kind": "Host", "deps": [0, 1], "outputs": ["[..]/target/debug/build/foo-[..]/metabuild_foo-[..][EXE]"], @@ -472,6 +475,7 @@ fn metabuild_build_plan() { "package_name": "foo", "package_version": "0.0.1", "target_kind": ["custom-build"], + "compile_mode": "run-custom-build", "kind": "Host", "deps": [2], "outputs": [], @@ -485,6 +489,7 @@ fn metabuild_build_plan() { "package_name": "foo", "package_version": "0.0.1", "target_kind": ["lib"], + "compile_mode": "build", "kind": "Host", "deps": [3], "outputs": ["[..]/foo/target/debug/deps/libfoo-[..].rlib"],