@@ -8,9 +8,6 @@ cargo_cache:
8
8
# the system's binaries, so the environment shouldn't matter.
9
9
task :
10
10
name : FreeBSD amd64 & i686
11
- env :
12
- # Temporary workaround for https://github.com/rust-lang/rustup/issues/2774
13
- RUSTUP_IO_THREADS : 1
14
11
freebsd_instance :
15
12
image : freebsd-11-4-release-amd64
16
13
setup_script :
60
57
TARGET : arm-unknown-linux-gnueabi
61
58
- name : Linux armv7 gnueabihf
62
59
env :
63
- RUST_BACKTRACE : 1 # XXX temporary for debugging
64
60
TARGET : armv7-unknown-linux-gnueabihf
65
61
- name : Linux arm-musleabi
66
62
env :
101
97
script :
102
98
- . $HOME/.cargo/env || true
103
99
- cross build --target $TARGET
104
- - cross test --target $TARGET
100
+ - env RUST_BACKTRACE=1 cross test --target $TARGET
101
+ # - cross test --target $TARGET
105
102
before_cache_script : rm -rf $CARGO_HOME/registry/index
106
103
107
104
# Tasks for Linux amd64 builds
@@ -168,16 +165,22 @@ task:
168
165
- name : iOS aarch64
169
166
env :
170
167
TARGET : aarch64-apple-ios
168
+ # Rustup only supports cross-building from arbitrary hosts for iOS at
169
+ # 1.49.0 and above. Below that it's possible to cross-build from an OSX
170
+ # host, but OSX VMs
171
+ # are more expensive than Linux VMs.
172
+ TOOLCHAIN : 1.49.0
171
173
- name : iOS x86_64
172
174
env :
173
175
TARGET : x86_64-apple-ios
176
+ TOOLCHAIN : 1.49.0
174
177
# Cross testing on powerpc fails with "undefined reference to renameat2".
175
178
# Perhaps cross is using too-old a version?
176
179
- name : Linux powerpc
177
180
env :
178
181
TARGET : powerpc-unknown-linux-gnu
179
- # Cross claims to support Linux powerpc64, but the tests fail with "file in
180
- # wrong format"
182
+ # Cross claims to support Linux powerpc64, but it really doesn't.
183
+ # https://github.com/rust-embedded/cross/issues/441
181
184
- name : Linux powerpc64
182
185
env :
183
186
TARGET : powerpc64-unknown-linux-gnu
0 commit comments