Skip to content
Snippets Groups Projects
Commit a1da67db authored by Alex Crichton's avatar Alex Crichton
Browse files

Try to fix nightly CI

parent cc12d2b2
No related branches found
No related tags found
No related merge requests found
......@@ -69,9 +69,13 @@ case "$TARGET" in
*)
# Download the rustlib folder from the relevant portion of main distribution's
# tarballs.
pkg=rustc
if [ "$TRAVIS_RUST_VERSION" = "nightly" ]; then
pkg=rust-std
fi
curl -s $MAIN_TARGETS/rust-$TRAVIS_RUST_VERSION-$HOST.tar.gz | \
tar xzf - -C $HOME/rust/lib/rustlib --strip-components=4 \
rust-$TRAVIS_RUST_VERSION-$HOST/rustc/lib/rustlib/$HOST
rust-$TRAVIS_RUST_VERSION-$HOST/$pkg/lib/rustlib/$HOST
TARGET=$HOST
# clang has better error messages and implements alignof more broadly
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment