File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- set -ex
2
+ set -eux
3
3
4
4
# We need Tree Borrows as some of our raw pointer patterns are not
5
5
# compatible with Stacked Borrows.
6
6
export MIRIFLAGS=" -Zmiri-tree-borrows"
7
7
8
8
# One target that sets `mem-unaligned` and one that does not,
9
9
# and a big-endian target.
10
- TARGETS=(x86_64-unknown-linux-gnu
10
+ targets=(
11
+ x86_64-unknown-linux-gnu
11
12
armv7-unknown-linux-gnueabihf
12
- s390x-unknown-linux-gnu)
13
- for TARGET in " ${TARGETS[@]} " ; do
13
+ s390x-unknown-linux-gnu
14
+ )
15
+ for target in " ${targets[@]} " ; do
14
16
# Only run the `mem` tests to avoid this taking too long.
15
- cargo miri test --manifest-path builtins-test/Cargo.toml --features no-asm --target $TARGET -- mem
17
+ cargo miri test --manifest-path builtins-test/Cargo.toml --features no-asm --target " $target " -- mem
16
18
done
You can’t perform that action at this time.
0 commit comments