Skip to content

Commit 7d1f762

Browse files
committed
ci: Disable LLVM/debug assertions for asmjs builder
This shaves of 50 minutes of cycle time on Azure and will likely also save a significant chunk of time on Travis. The assertions here aren't really buying us much over other builders with assertions already enabled, so let's disable them for this builder. cc rust-lang#61185
1 parent 817d2fe commit 7d1f762

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ci/docker/asmjs/Dockerfile

+8
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,11 @@ ENV SCRIPT python2.7 ../x.py test --target $TARGETS \
3737
src/libstd \
3838
src/liballoc \
3939
src/libcore
40+
41+
# Debug assertions in rustc are largely covered by other builders, and LLVM
42+
# assertions cause this builder to slow down by quite a large amount and don't
43+
# buy us a huge amount over other builders (not sure if we've ever seen an
44+
# asmjs-specific backend assertion trip), so disable assertions for these
45+
# tests.
46+
ENV NO_LLVM_ASSERTIONS=1
47+
ENV NO_DEBUG_ASSERTIONS=1

0 commit comments

Comments
 (0)