|
@@ -10,6 +10,10 @@ case $1 in
|
|
|
esac
|
|
|
|
|
|
INTRINSICS_FEATURES="c"
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
if [ -z "$INTRINSICS_FAILS_WITH_MEM_FEATURE" ]; then
|
|
|
INTRINSICS_FEATURES="$INTRINSICS_FEATURES mem"
|
|
|
fi
|
|
@@ -47,16 +51,13 @@ case $1 in
|
|
|
done
|
|
|
;;
|
|
|
*)
|
|
|
- cargo test --no-default-features --features gen-tests --target $1
|
|
|
- cargo test --no-default-features --features 'gen-tests c' --target $1
|
|
|
- cargo test --no-default-features --features gen-tests --target $1 --release
|
|
|
- cargo test --no-default-features --features 'gen-tests c' --target $1 --release
|
|
|
+ cargo test --features gen-tests --target $1
|
|
|
+ cargo test --features 'gen-tests c' --target $1
|
|
|
+ cargo test --features gen-tests --target $1 --release
|
|
|
+ cargo test --features 'gen-tests c' --target $1 --release
|
|
|
;;
|
|
|
esac
|
|
|
|
|
|
-
|
|
|
-$cargo build --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics
|
|
|
-
|
|
|
PREFIX=$(echo $1 | sed -e 's/unknown-//')-
|
|
|
case $1 in
|
|
|
armv7-*)
|
|
@@ -105,7 +106,22 @@ done
|
|
|
|
|
|
rm -f $path
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+case $1 in
|
|
|
+ thumb*)
|
|
|
+ exit 0
|
|
|
+ ;;
|
|
|
+ *)
|
|
|
+ ;;
|
|
|
+esac
|
|
|
+
|
|
|
+
|
|
|
+$cargo build --features "$INTRINSICS_FEATURES" --target $1 --example intrinsics
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
if [ -z "$DEBUG_LTO_BUILD_DOESNT_WORK" ]; then
|
|
|
RUSTFLAGS="-C debug-assertions=no" \
|