ci: Disable rustc debug assertions on OSX
This commit disables debug assertions for OSX in an effort to improve cycle time on OSX. It looks like #44610 didn't shave off quite as much time as desired so let's see how much this helps.
This commit is contained in:
parent
277476c4fb
commit
c1a83acf98
2 changed files with 10 additions and 1 deletions
|
|
@ -52,7 +52,11 @@ if [ "$DEPLOY$DEPLOY_ALT" != "" ]; then
|
|||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-llvm-assertions"
|
||||
fi
|
||||
else
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-debug-assertions"
|
||||
# We almost always want debug assertions enabled, but sometimes this takes too
|
||||
# long for too little benefit, so we just turn them off.
|
||||
if [ "$NO_DEBUG_ASSERTIONS" = "" ]; then
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-debug-assertions"
|
||||
fi
|
||||
|
||||
# In general we always want to run tests with LLVM assertions enabled, but not
|
||||
# all platforms currently support that, so we have an option to disable.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue