File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,9 @@ matrix:
48
48
script : sh ci/build.sh
49
49
stage : tools-and-build-and-tier1
50
50
rust : nightly
51
- install : true
51
+ install :
52
+ - rustup component add rust-src
53
+ - cargo install xargo
52
54
- name : " Build Stable Rust"
53
55
script : sh ci/build.sh
54
56
stage : tools-and-build-and-tier1
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ test_target() {
30
30
;;
31
31
esac
32
32
33
- rustup target add " ${TARGET} " --toolchain " ${RUST} " || true
33
+ rustup target add " ${TARGET} " --toolchain " ${RUST} "
34
34
35
35
# Test that libc builds without any default features (no libstd)
36
36
" $CARGO " " +${RUST} " build -vv $opt --no-default-features --target " ${TARGET} "
@@ -198,9 +198,6 @@ x86_64-unknown-openbsd
198
198
"
199
199
200
200
if [ " ${RUST} " = " nightly" ] && [ " ${OS} " = " linux" ]; then
201
- rustup component add rust-src || true
202
- cargo install xargo || true
203
-
204
201
for TARGET in $RUST_LINUX_NO_CORE_TARGETS ; do
205
202
RUST_LIBC_NO_CORE_BUILD=1 test_target xargo " $TARGET " 1
206
203
done
You can’t perform that action at this time.
0 commit comments