Skip to content

Commit

Permalink
Merge pull request rust-lang#267 from alexcrichton/rustup
Browse files Browse the repository at this point in the history
Use rustup to add targets, not manual curl
  • Loading branch information
alexcrichton committed Apr 25, 2016
2 parents 1e6a354 + 621aa7c commit 22bb4e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/run-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ cp ci/cargo-config .cargo/config
# Next up we need to install the standard library for the version of Rust that
# we're testing.
if [ "$TRAVIS" = "true" ]; then
curl -s $MAIN_TARGETS/rust-std-$TRAVIS_RUST_VERSION-$TARGET.tar.gz | \
tar xzf - -C $HOME/rust/lib/rustlib --strip-components=4 \
rust-std-$TRAVIS_RUST_VERSION-$TARGET/rust-std-$TARGET/lib/rustlib/$TARGET
curl https://static.rust-lang.org/rustup.sh | \
sh -s -- --add-target=$TARGET --disable-sudo -y \
--prefix=`rustc --print sysroot`
fi

# If we're testing with a docker image, then run tests entirely within that
Expand Down

0 comments on commit 22bb4e4

Please sign in to comment.