Skip to content

Commit e8c1811

Browse files
committed
Fix metabuild::metabuild_build_plan
1 parent 27424e2 commit e8c1811

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/testsuite/metabuild.rs

+5
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ fn metabuild_build_plan() {
433433
"package_name": "mb",
434434
"package_version": "0.5.0",
435435
"target_kind": ["lib"],
436+
"compile_mode": "build",
436437
"kind": "Host",
437438
"deps": [],
438439
"outputs": ["[..]/target/debug/deps/libmb-[..].rlib"],
@@ -446,6 +447,7 @@ fn metabuild_build_plan() {
446447
"package_name": "mb-other",
447448
"package_version": "0.0.1",
448449
"target_kind": ["lib"],
450+
"compile_mode": "build",
449451
"kind": "Host",
450452
"deps": [],
451453
"outputs": ["[..]/target/debug/deps/libmb_other-[..].rlib"],
@@ -459,6 +461,7 @@ fn metabuild_build_plan() {
459461
"package_name": "foo",
460462
"package_version": "0.0.1",
461463
"target_kind": ["custom-build"],
464+
"compile_mode": "build",
462465
"kind": "Host",
463466
"deps": [0, 1],
464467
"outputs": ["[..]/target/debug/build/foo-[..]/metabuild_foo-[..][EXE]"],
@@ -472,6 +475,7 @@ fn metabuild_build_plan() {
472475
"package_name": "foo",
473476
"package_version": "0.0.1",
474477
"target_kind": ["custom-build"],
478+
"compile_mode": "run-custom-build",
475479
"kind": "Host",
476480
"deps": [2],
477481
"outputs": [],
@@ -485,6 +489,7 @@ fn metabuild_build_plan() {
485489
"package_name": "foo",
486490
"package_version": "0.0.1",
487491
"target_kind": ["lib"],
492+
"compile_mode": "build",
488493
"kind": "Host",
489494
"deps": [3],
490495
"outputs": ["[..]/foo/target/debug/deps/libfoo-[..].rlib"],

0 commit comments

Comments
 (0)