File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,16 @@ cargo_test_impl() {
70
70
RUSTFLAGS=${ORIGINAL_RUSTFLAGS}
71
71
}
72
72
73
- # Debug run:
74
- if [[ " ${TARGET} " != " wasm32-unknown-unknown" ]] &&
75
- [[ ! " ${TARGET} " =~ " aarch64" ]] &&
76
- [[ " ${TARGET} " != " armv7-linux-androideabi" ]] &&
77
- [[ " ${TARGET} " != " thumbv7neon-linux-androideabi" ]]; then
73
+ release_only=false
74
+ if [[ " ${TARGET} " =~ wasm32 ]]; then
75
+ release_only=true
76
+ elif [[ " ${TARGET} " =~ aarch64 ]]; then
77
+ release_only=true
78
+ elif [[ " ${TARGET} " =~ androideabi ]]; then
79
+ release_only=true
80
+ fi
81
+
82
+ if [[ " $release_only " == false ]]; then
78
83
# Run wasm32-unknown-unknown, aarch64, and android in release mode only
79
84
# as for some reason the emulation quality of these is low
80
85
cargo_test_impl
You can’t perform that action at this time.
0 commit comments