We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4090d46 + 5d76335 commit f95f363Copy full SHA for f95f363
util/android-commands.sh
@@ -515,7 +515,10 @@ snapshot() {
515
516
echo "Installing cargo-nextest"
517
# We need to install nextest via cargo currently, since there is no pre-built binary for android x86
518
- command="export CARGO_TERM_COLOR=always && cargo install cargo-nextest"
+ # explicitly set CARGO_TARGET_DIR as otherwise a random generated tmp directory is used,
519
+ # which prevents incremental build for the retries.
520
+ command="export CARGO_TERM_COLOR=always && export CARGO_TARGET_DIR=\"cargo_install_target_dir\" && cargo install cargo-nextest"
521
+
522
run_with_retry 3 run_command_via_ssh "$command"
523
return_code=$?
524
0 commit comments