Skip to content

Commit 47b6732

Browse files
committed
add another check for empty ccs
1 parent 86aa326 commit 47b6732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the
17921792

17931793
cmd.arg("--adb-path").arg("adb");
17941794
cmd.arg("--adb-test-dir").arg(ADB_TEST_DIR);
1795-
if target.contains("android") {
1795+
if target.contains("android") && !builder.config.dry_run() {
17961796
// Assume that cc for this target comes from the android sysroot
17971797
cmd.arg("--android-cross-path")
17981798
.arg(builder.cc(target).parent().unwrap().parent().unwrap());

0 commit comments

Comments
 (0)