Skip to content

Commit

Permalink
add another check for empty ccs
Browse files Browse the repository at this point in the history
  • Loading branch information
pietroalbini committed Jun 13, 2023
1 parent 86aa326 commit 47b6732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,7 @@ note: if you're sure you want to do this, please open an issue as to why. In the

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

0 comments on commit 47b6732

Please sign in to comment.