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 11#! /bin/bash
2- set -ex
2+ set -eux
33
44# We need Tree Borrows as some of our raw pointer patterns are not
55# compatible with Stacked Borrows.
66export MIRIFLAGS=" -Zmiri-tree-borrows"
77
88# One target that sets `mem-unaligned` and one that does not,
99# and a big-endian target.
10- TARGETS=(x86_64-unknown-linux-gnu
10+ targets=(
11+ x86_64-unknown-linux-gnu
1112 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
1416 # 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
1618done
You can’t perform that action at this time.
0 commit comments