File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ build: &BUILD
20
20
- $TOOL +$TOOLCHAIN $BUILD $ZFLAGS --target $TARGET --all-targets
21
21
- $TOOL +$TOOLCHAIN doc $ZFLAGS --no-deps --target $TARGET
22
22
- $TOOL +$TOOLCHAIN clippy $ZFLAGS --target $TARGET -- $CLIPPYFLAGS
23
- - $TOOL install cargo-hack
24
- - $TOOL hack check --target $TARGET --each-feature
23
+ - [ -n "$NOHACK" ] || $TOOL install cargo-hack
24
+ - [ -n "$NOHACK" ] || $TOOL hack check --target $TARGET --each-feature
25
25
26
26
# Tests that do require executing the binaries
27
27
test : &TEST
@@ -196,13 +196,17 @@ task:
196
196
# https://github.com/rust-embedded/cross/issues/535
197
197
- name : iOS aarch64
198
198
env :
199
+ # cargo hack tries to invoke the iphonesimulator SDK for iOS
200
+ NOHACK : 1
199
201
TARGET : aarch64-apple-ios
200
202
# Rustup only supports cross-building from arbitrary hosts for iOS at
201
203
# 1.49.0 and above. Below that it's possible to cross-build from an OSX
202
204
# host, but OSX VMs are more expensive than Linux VMs.
203
205
TOOLCHAIN : 1.49.0
204
206
- name : iOS x86_64
205
207
env :
208
+ # cargo hack tries to invoke the iphonesimulator SDK for iOS
209
+ NOHACK : 1
206
210
TARGET : x86_64-apple-ios
207
211
TOOLCHAIN : 1.49.0
208
212
# Cross testing on powerpc fails with "undefined reference to renameat2".
You can’t perform that action at this time.
0 commit comments