File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ if [[ $TARGET != $HOST && ! $TARGET =~ ^i.86- ]]; then
40
40
;;
41
41
esac
42
42
43
+ export CARGO_TARGET_$( echo $TARGET | tr a-z- A-Z_) _LINKER=$GCC_TRIPLE -gcc
44
+
43
45
if [[ $RUN_TESTS == y ]]; then
44
46
# NOTE(export) so this can reach the processes that `cargo test` spawns
45
47
export QEMU_LD_PREFIX=/usr/$GCC_TRIPLE
Original file line number Diff line number Diff line change @@ -11,7 +11,9 @@ install_qemu() {
11
11
}
12
12
13
13
install_gist () {
14
- gem install gist -v 4.5.0
14
+ if [[ $OSX ]]; then
15
+ gem install gist -v 4.5.0
16
+ fi
15
17
}
16
18
17
19
install_binutils () {
@@ -38,21 +40,13 @@ add_rustup_target() {
38
40
fi
39
41
}
40
42
41
- install_xargo () {
42
- if [[ $CARGO == xargo ]]; then
43
- curl -sf " https://raw.githubusercontent.com/japaric/rust-everywhere/master/install.sh" | \
44
- bash -s -- --from japaric/xargo --at /root/.cargo/bin --vers 0.1.5
45
- fi
46
- }
47
-
48
43
main () {
49
44
if [[ $OSX || ${IN_DOCKER_CONTAINER:- n} == y ]]; then
50
45
install_qemu
51
46
install_gist
52
47
install_binutils
53
48
install_rust
54
49
add_rustup_target
55
- install_xargo
56
50
fi
57
51
}
58
52
Original file line number Diff line number Diff line change @@ -42,8 +42,7 @@ run_tests() {
42
42
43
43
main () {
44
44
if [[ $LINUX && ${IN_DOCKER_CONTAINER:- n} == n ]]; then
45
- local tag=2016-08-24
46
-
45
+ # NOTE The Dockerfile of this image is in the docker branch of this repository
47
46
docker run \
48
47
--privileged \
49
48
-e IN_DOCKER_CONTAINER=y \
@@ -52,7 +51,7 @@ main() {
52
51
-e TRAVIS_COMMIT=$TRAVIS_COMMIT \
53
52
-e TRAVIS_OS_NAME=$TRAVIS_OS_NAME \
54
53
-v $( pwd) :/mnt \
55
- japaric/rustc-builtins: $tag \
54
+ japaric/rustc-builtins \
56
55
sh -c ' cd /mnt;
57
56
bash ci/install.sh;
58
57
bash ci/script.sh'
You can’t perform that action at this time.
0 commit comments