File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ matrix:
29
29
SCCACHE_ERROR_LOG=/tmp/sccache.log
30
30
MACOSX_DEPLOYMENT_TARGET=10.7
31
31
NO_LLVM_ASSERTIONS=1
32
+ NO_DEBUG_ASSERTIONS=1
32
33
os: osx
33
34
osx_image: xcode7
34
35
@@ -48,6 +49,7 @@ matrix:
48
49
MACOSX_DEPLOYMENT_TARGET=10.8
49
50
MACOSX_STD_DEPLOYMENT_TARGET=10.7
50
51
NO_LLVM_ASSERTIONS=1
52
+ NO_DEBUG_ASSERTIONS=1
51
53
os: osx
52
54
osx_image: xcode8.2
53
55
- env : >
@@ -59,6 +61,7 @@ matrix:
59
61
MACOSX_DEPLOYMENT_TARGET=10.8
60
62
MACOSX_STD_DEPLOYMENT_TARGET=10.7
61
63
NO_LLVM_ASSERTIONS=1
64
+ NO_DEBUG_ASSERTIONS=1
62
65
os: osx
63
66
osx_image: xcode8.2
64
67
@@ -77,6 +80,7 @@ matrix:
77
80
SCCACHE_ERROR_LOG=/tmp/sccache.log
78
81
MACOSX_DEPLOYMENT_TARGET=10.7
79
82
NO_LLVM_ASSERTIONS=1
83
+ NO_DEBUG_ASSERTIONS=1
80
84
os: osx
81
85
osx_image: xcode7
82
86
- env : >
@@ -88,6 +92,7 @@ matrix:
88
92
SCCACHE_ERROR_LOG=/tmp/sccache.log
89
93
MACOSX_DEPLOYMENT_TARGET=10.7
90
94
NO_LLVM_ASSERTIONS=1
95
+ NO_DEBUG_ASSERTIONS=1
91
96
os: osx
92
97
osx_image: xcode7
93
98
Original file line number Diff line number Diff line change @@ -52,7 +52,11 @@ if [ "$DEPLOY$DEPLOY_ALT" != "" ]; then
52
52
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --disable-llvm-assertions"
53
53
fi
54
54
else
55
- RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --enable-debug-assertions"
55
+ # We almost always want debug assertions enabled, but sometimes this takes too
56
+ # long for too little benefit, so we just turn them off.
57
+ if [ " $NO_DEBUG_ASSERTIONS " = " " ]; then
58
+ RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --enable-debug-assertions"
59
+ fi
56
60
57
61
# In general we always want to run tests with LLVM assertions enabled, but not
58
62
# all platforms currently support that, so we have an option to disable.
You can’t perform that action at this time.
0 commit comments